[CustomAPI] Using Youtube API to check for licensed content

I’m trying to create a command that checks an inputted youtube link to see if the video is copyrighted.

I see that the youtube API offers access to a licensedContent boolean.
https://developers.google.com/youtube/v3/docs/videos#contentDetails.licensedContent

Is it possible to access that data using nightbot?

You would need to build a custom API that calls YouTube’s API, which Nightbot can then utilize with https://docs.nightbot.tv/commands/variables/urlfetch

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.