Skip to main contentThis 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