Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.x.com/llms.txt

Use this file to discover all available pages before exploring further.

Submodules

Module contents

This module provides access to the general endpoints of the X API and serves as the main entry point for all general-related functionality.

class xdk.general.GeneralClient

Client for general operations

Parameters

path.client
Client

__init__

Parameters

path.client
Client

get_open_api_spec

Get OpenAPI Spec. Retrieves the full OpenAPI Specification in JSON format. (See https://github.com/OAI/OpenAPI-Specification/blob/master/README.md) :returns: Response data :rtype: GetOpenApiSpecResponse

Returns

GetOpenApiSpecResponse