Skip to main content

Documentation Index

Fetch the complete documentation index at: https://x-preview-mintlify-translate-step-by-step-1778654896.mintlify.app/llms.txt

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

This module provides Pydantic models for request and response data structures for the news endpoints of the X API. All models are generated from the OpenAPI specification and provide type safety and validation.

GetResponse

Class Bases: BaseModel Response model for get

Methods

class xdk.news.models.GetResponse

Response model for get

class xdk.news.models.SearchResponse

Response model for search