Skip to main content

サブモジュール

モジュールの内容

このモジュールは、X API の trends エンドポイントへのアクセスを提供します trends-related のすべての機能の主要なエントリポイントとして機能します。 trends 操作向けのクライアント

パラメーター

Client

__init__

パラメーター

Client

get_ai

Get AI Trends by ID Retrieves an AI trend by its ID.

パラメーター

Any
The ID of the ai trend.
List or None
default:"None"
A comma separated list of News fields to display.

戻り値

GetAiResponse - Response data

get_by_woeid

Get Trends by WOEID Retrieves trending topics for a specific location identified by its WOEID.

パラメーター

int
The WOEID of the place to lookup a trend for.
The maximum number of results.
List or None
default:"None"
A comma separated list of Trend fields to display.

戻り値

GetByWoeidResponse - Response data

get_personalized

Get personalized Trends Retrieves personalized trending topics for the authenticated user.

パラメーター

List or None
default:"None"
A comma separated list of PersonalizedTrend fields to display.

戻り値

GetPersonalizedResponse - Response data