Get complete video stats using Youtube API - youtube-api

Is it possible to use the Youtube API to get complete stats about a video?
I am talking about the history of daily views, as it can be seen on a video page by clicking on "... More" and on "Statistics".

Related

How to get watched history of a music video on youtube using YouTube api

I am working on a music project and i will like to view the watched history of different music videos on youtube that are not on my channel.
A typical case is this music chart site
I have been exploring youtube but i cant see any endpoint for that.
https://developers.google.com/youtube/v3/docs
I have also check analytics API but it seems like it only works on videos on your channel
https://developers.google.com/youtube/analytics/reference/reports/query
Is there any way to do this or an alternative?
Thanks

How to get YouTube channel's trailer and featured video via the Data API?

I'm trying to use the YouTube Data API to get a channel's Trailer and Featured Video but can't find anything in the [API docs][1] or responses that might provide it. Ideally, there'd be something that would return the ID of whichever videos had been selected here: https://studio.youtube.com/channel/[CHANNEL_ID]/editing/sections
Maybe it's buried in an obscure endpoint. Maybe the API simply doesn't include this anywhere. Can anyone please point me in the right direction?
Update: I've found the channel trailer as unsubscribedTrailer under the channels:list endpoint with the brandingSettings part. However, for some reason Google has decided not to include the featured video with it.
One more time YouTube Data API v3 doesn't provide a basic feature.
As Video spotlight you can have:
Featured video for returning subscribers
Highlight a video for your subscribers to watch. This video won’t be shown again at the top of your page for subscribers who have watched it. Learn more
Source: https://studio.youtube.com/channel/CHANNEL_ID/editing/sections
For the featured video:
you first need to subscribe to the give YouTube channel. To do so in an automatic way, use YouTube Data API v3 Subscriptions: insert endpoint.
then open your web-browser Network developer tool tab (Ctrl + Shift + E on FireFox) and filter HTML requests, then visit https://www.youtube.com/channel/CHANNEL_ID and copy the initial request to CHANNEL_ID as cURL, that way you can re-execute this cURL request for any channel you are subscribed to by changing the URL in the cURL request to https://www.youtube.com/channel/ANOTHER_CHANNEL_ID. Furthermore you'll find the featured video id in the JavaScript variable ytInitialData in the JSON entry
contents/twoColumnBrowseResultsRenderer/tabs/0/tabRenderer/content/sectionListRenderer/contents/0/itemSectionRenderer/contents/0/channelFeaturedContentRenderer/items/0/videoRenderer/videoId.
The channel with id UCv_LqFI-0vMVYgNR3TeB3zQ have both a channel trailer (1RHxvM8mQS4) and a featured video (rFuip5CSWcA).

Is it possible to collect YouTube video impressions with the YouTube API

I have some visualizations I'm currently using to display YouTube video analytics, however, I'm having to manually pull YouTube video impression data through YouTube Studio to keep it updated. I would like to do this through the API but I don't see video impression data in any of the documentation here
Questions:
Am I missing something? Or is it just not currently possible to pull that metric through
the API?
To get around this if it is not possible, is it okay to scrape YouTube studio for the
metric myself?
To be clear, I specifically want this metric from YouTube Studio:
Click here to see

YouTube API v3: Disliking a video in android

As per current documentation liking a video can be done by adding video into likes playlist.
Is there any way to dislike a video with Youtube data api v3.0.
There's no way to dislike (equivalent to the "thumbs down" UI option on the watch page) using the YouTube Data API v3 at this time.

Youtube API - Video is not available

Is there any way to detect if a video was removed or unavailable?
We need to have ability to remove it from the video listing if it has been removed from youtube server.
Hung BUI if you are using youtube API there is a way to filter the video which has been removed or not availble in your locality.
Kindly watch this video and seek it to 2m:03s, The tutor will say how to filter the unavailable and restricted video,..
Youtube Video on YOUTUBE search API
Use a parameter format and restriction along with the youtube api endpoint
https://gdata.youtube.com/feeds/api/videos?q=GoogleDevelopers&max-results=1&v=2.1&alt=jsonc&format=5&restriction=DE
If you hit this endpoint of youtube you can get a set of youtube videos which can be embedded as well as we can check whether the video is restricted in our locality.

Resources