Reputation: 75
I have read all the Youtube api doc but I haven't find this answer. Is there an API to know the date and time of next premiere video of a selected channel?
Upvotes: 1
Views: 241
Reputation: 5642
One more time YouTube APIs doesn't provide a basic feature.
I recommend you to try my open-source YouTube operational API. Indeed by fetching https://yt.lemnoslife.com/channels?part=upcomingEvents&id=CHANNEL_ID you will retrieve all upcoming events of the given YouTube channel. Especially may interest you about the upcoming event:
item["videoId"]
(example: yVVQai84NrI
)item["upcomingEventData"]["startTime"]
(example: 1717106417
)item["title"]["simpleText"]
(example: Another "Premiere" video
)item["thumbnail"]["thumbnails"]
(example: url
, width
, height
)Channels to test:
UCv_LqFI-0vMVYgNR3TeB3zQ
(should at least return BvVOl19eo1o
)UCv_LqFI-0vMVYgNR3TeB3zQ
(should at least return 1PpAgFFP9K4
)Upvotes: 0