Seb
Seb

Reputation: 75

Get next "premiere" on a Youtube channel

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

Answers (1)

Benjamin Loison
Benjamin Loison

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:

  • id: item["videoId"] (example: yVVQai84NrI)
  • upcoming event date and time: item["upcomingEventData"]["startTime"] (example: 1717106417)
  • title: item["title"]["simpleText"] (example: Another "Premiere" video)
  • thumbnails: item["thumbnail"]["thumbnails"] (example: url, width, height)

Channels to test:

Upvotes: 0

Related Questions