annict.api.API.works¶
-
API.
works
(fields=None, filter_ids=None, filter_season=None, filter_title=None, page=None, per_page=None, sort_id=None, sort_season=None, sort_watchers_count=None)[source]¶ Get works information
Reference: Parameters: - fields (list of str) – (optional) Narrow down the fields of data contained in the response body.
- filter_ids (list of int) – (optional) Filter results by IDs.
- filter_season (str) – (optional) Filter results by release time of season.
- filter_title (str) – (optional) Filter results by title.
- page (int) – (optional) Specify the number of pages.
- per_page (int) – (optional) Specify how many items to acquire per page.
- sort_id (str) – (optional) Sort the results by their ID. You can specify asc or desc.
- sort_season (str) – (optional) Sort the results by their release time of season. You can specify asc or desc.
- sort_watchers_count (str) – (optional) Sort the results by their watchers count. You can specify asc or desc.
Returns: list of
Work
objects.Return type: