NewsClient
クラス 基底: object news 操作向けのクライアントコンストラクター
__init__
パラメーター
Client
get
Get news stories by ID
Retrieves news story by its ID.
パラメーター
Any
The ID of the news story.
List or None
default:"None"
A comma separated list of News fields to display.
戻り値
GetResponse - Response data
search
Search News
次の一覧を取得します: News stories matching the specified search query.
パラメーター
str
The search query.
int or None
default:"None"
The number of results to return.
int or None
default:"None"
The maximum age of the News story to search for.
List or None
default:"None"
A comma separated list of News fields to display.
戻り値
SearchResponse - Response data