Search code examples
javagoogle-apiyoutube-apiyoutube-data-api

YouTube Video Event


I am searching for an event which is triggered if a new YouTube video on a specific channel is published. Is there something like that? I searched a little bit in the API but couldn’t find something like that.


Solution

  • https://developers.google.com/youtube/v3/guides/push_notifications

    Essentially you need to do the following as per the documentation:

    • Set up a callback server that can handle incoming Atom feed notifications.
    • Use the Google hub to subscribe to receive push notifications.
    • Process notifications sent to your callback server.

    If you had a working example, I'd attempt to help you further.