annict.api.API.episodes¶
-
API.
episodes
(fields=None, filter_ids=None, filter_work_id=None, page=None, per_page=None, sort_id=None, sort_sort_number=None)[source]¶ Get episodes 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_work_id (int) – (optional) Filter results by Work’s ID.
- 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_sort_number (str) – (optional) Sort by number for sorting. You can specify asc or desc.
Returns: list of
Episode
objects.Return type: