annict.api.API.my_programs¶
-
API.
my_programs
(fields=None, filter_ids=None, filter_channel_ids=None, filter_work_ids=None, filter_started_at_gt=None, filter_started_at_lt=None, filter_unwatched=None, filter_rebroadcast=None, page=None, per_page=None, sort_id=None, sort_started_at=None)[source]¶ Get the broadcast schedule.
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_channel_ids (list of int) – (optional) Filter results by Channel IDs.
- filter_work_ids (list of int) – (optional) Filter results by Work IDs.
- filter_started_at_gt (datetime) – (optional) Filter results results to those with the broadcast start date and time after the specified date and time.
- filter_started_at_lt (datetime) – (optional) Filter results results to those with the broadcast start date and time before the specified date and time.
- filter_unwatched (bool) – (optional) Only get unwatched broadcast schedules.
- filter_rebroadcast (bool) – (optional) Filter the broadcast schedule based on the rebroadcast flag. If you pass True, only rebroadcasting, passing False will get broadcast schedules other than rebroadcast.
- 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_started_at (str) – (optional) Sort the results by started_at.
Returns: list of
Program
objects.Return type: