googleapis / google-api-nodejs-client

Google's officially supported Node.js client library for accessing Google APIs. Support for authorization and authentication with OAuth 2.0, API Keys and JWT (Service Tokens) is included.
https://googleapis.dev/nodejs/googleapis/latest/
Apache License 2.0
11.26k stars 1.91k forks source link

YouTube push notifications #3415

Closed Renari closed 6 months ago

Renari commented 6 months ago

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is your feature request related to a problem? Please describe. Currently I'm polling YouTube for video updates, however it seems push notifications are a more reliable method of receiving updates: https://developers.google.com/youtube/v3/guides/push_notifications Describe the solution you'd like The above pubsub system supported in the nodejs library. A clear and concise description of what you want to happen. Describe alternatives you've considered Currently I believe polling is the only alternative with this library.

sofisl commented 6 months ago

Hi @Renari, please suggest feature requests for the API in their issue tracker, this is only an autogenerated library:

https://issuetracker.google.com/issues/new?component=186600&template=874803

Thank you!

Renari commented 6 months ago

Is this not already supported in the API? The linked page is for the YouTube Data API, I just don't see a way to utilize it in the Node.js library, I was expecting to find a .watch call similar to other parts of the library but had no such luck.