News¶
- news_listing(self, *, limit=None, year=None, cursor_string=None)¶
Get news posts.
- Parameters:
- Return type:
Notes
Implements the Get News Listing endpoint.
- news_post(self, news, *, key=NewsPostKey.SLUG)¶
Get a news post by id or slug.
- Parameters:
news (str) – The id or slug of the news post.
key (NewsPostKey | str | None) – Whether to query by id or slug.
- Return type:
Notes
Implements the Get News Post endpoint.