Know if a new video is added in youtube api - react-native

Hi how can I check via Youtube api if a new video is added to a playlist ? I want to implements push notifications on 3 playlists for example and whenever a new video is added to playlist 1, then the user will receive a new video.
Thanks !

Related

Update a youtube video via YouTube data API, add end screen and cards

I can't find how to Update a youtube video via YouTube data API, for to add end screen and cards.
There is nothing in the google API documentation. Is it possible? If yes how?
I tried of fin how to Update a youtube video via YouTube data API, for to add end screen and cards.
I expect a response : Is it possible? If yes how?

How do I get the video category associated with a youtube video from the video url?

I'm wokring on a personal project where I need to get the video category associated with a youtube video from the video url but I can't seem to find a solution. The Youtube API gives me a list of video categories but not assocaited with any specific video.
My code is basically scratched.

Android app displaying list of video from YouTube playlist using YouTube API

I want to make an app which shows video from my YouTube channel or from my playlist using using YouTube API..
the app should be like this..
app should display list of all video in playlist and when user click on any video it should be played...
how can i do this app ?
if you know solution please send both java and xml code for this.. or send a link from where i can download source code
Checkout PlaylistItems, it returns all the videos from your playlist.
"A playlistItem resource identifies another resource, such as a video,
that is included in a playlist. In addition, the playlistItem resource
contains details about the included resource that pertain specifically
to how that resource is used in that playlist."
For Java code samples, checkout the Official Youtube api-samples/java for code reference.

How to tell YouTube that a livestream is a 360 video?

We are successfully streaming video to YouTube already. However we don't know how to create the livestreams for a 360 video via the API:
My guess is that we miss some documentation about how to tell YouTube that a video stream needs to be played back in a 360 video player. We are using this code snippet to generate the liveStreams resource:
NSDictionary *stream = #{#"snippet": #{#"title": broadcast.title ? broadcast.title : #"mimoLive Livestream"},
#"cdn": #{#"resolution": resolution,
#"frameRate": framerate,
#"ingestionType": #"rtmp"}};
Is there a (un)documented key we need to add here?
Refering to YouTube API:
https://developers.google.com/youtube/v3/live/docs/liveStreams
(BTW: Facebook recently added the option is_spherical to their API to make this work)
You need to set the contentDetails.Projection field to 360 when creating a new broadcast object. It is set to rectangular by default. This is documented under https://developers.google.com/youtube/v3/live/docs/liveBroadcasts

YouTube Data API video insert/update - setting 'Game title'

The YouTube Data API v3 functions Video.insert and Video.update do not contain an option to set the "Game title" as you can when uploading / updating a video in the web UI:
This is only available if the category is set to Gaming.
Edit: To clarify, I do not wish to set the Video Title. This input is used to identify the Game that is being played in the uploaded video and is displayed under the video description.
Is there an API endpoint to set this Game title? Or do I have to POST to https://www.youtube.com/metadata_ajax?action_edit_video=1 like the web UI does?
The Youtube Data API does not have this implemented at this time of writing. And nether we are able to Get the game title as well.