Is there a way to know through the Youtube Data API whether #[some string] in a video description is a mention (described here), as well as get the URL/ID of the channel that is being mentioned? I'm retrieving the video descriptions through /videos?part=snippet&id=<video id>, but sometimes #[some string] refers to a different social media handle (like Twitter) and other times it may refer to a YT mention; however, I don't see any difference between the snippet's description for those two cases. Is that information accessible through the API? Thanks for any help.
Related
I am a teacher and I have a YouTube channel with videos for my students. Every time one of my students see a video, I would love to know how he interacted with it: where he has paused it , where he has rewinded it, etc. This would help me in knowing the parts of the video that are difficult to understand.
My question is: is it possible to get all this data from a user's session? Specifically, can I get these detailed raw data from YouTube APIs?
From what I have explored so far, it seems that it is not possible, as YouTube APIs only seem to send "aggregated" data (example: total number of views of a video) or "properties" (example: title of the video).
I would really just need a Yes/No answer to my question, just to know if I am not waisting my time in exploring the APIs as a solution to my problem.
Thank you.
Yes and no,
But here is a more detailed explanation.
The YouTube Analytics api will give you analytics data on your own YouTube channel, but it wont be user specific you cant track who exactly did something. You may however be able to get some basic information about each video and what was clicked and how much was viewed. video reports But its not going to be user specific you wont know what Mike did as opposed to what Jane did.
The YouTube Data api will allow you to manage your own YouTube Channel for example upload videos and see subscriptions. It will also let you search for public videos on YouTube.
If you do want user specific then What you are looking for is session data related to user activity. Something like this is not publicly available. Google couldn't share your students activity without the students permission due to GDPR not to mention the fact that tracking anyone under the age of 13 would also be against some GDPR laws if i remember correctly.
Even Google analytics doesn't offer websites a decent way of tracking individual users activity on their websites. You can do it but you have to add additional tracking data to your website, and notify users that you are doing it.
SO your answer is yes kind of
I would like to extract playlist data from Youtube Music, as well as metadata related to the songs in the said playlist. Is this possible with the Youtube Data V3 API, or YouTube Analytics API?
If so, where can I find documentation about calls and available metadata; I am not finding what I need on the YouTube Data API page. I am currently referencing PlaylistItems and Playlists in the reference Docs, but it seems that is geared to videos. Is that by design because you can toggle between video and audio in YT Music?
If possible is there an official Rust Crate?
Thank you in advance for the help.
Indeed, this feature is missing from YouTube Data API and quite a few other API users expressed the same need as yours.
The official Google staff account says the following:
This type of information is not available in the API. We have already raised a feature request for this but I can't guarantee that this feature will be implemented.
That is it: they may well implement this feature at some point, but, unfortunately, cannot tell when that'll happen.
If you look at YouTube V3 Docs it will say
YouTube uses playlists to identify special collections of videos for a channel, such as: (...) watch history (...).
Now, if you go to Channels List API and make a call for part=contentDetails&mine=true it will list your information but watchHistory will appear as HL and watchLater as WL.
It makes me wonder, and so far I couldn't find any explicit mention, from Google/YouTube, were those playlists removed from API? IS there any way to actually get that information from an authenticated user?
For quite some time I observed the same values you mentioned on various channels. According to the docs, watch history and watch later playlists are deprecated.
I'm making a youtube channel for some meteorologists who hired me for an internship.
They want to use Youtube to pull their videos and display them onto the Roku Channel. How would I do this? also, I need to make a list of the videos from the youtube channel. one more thing if anyone knows how to pull information from a website that would be wonderful.
We have to figure out how to pull information for weather services and we have a few websites that use XML and RSS data tables, but theres so many different Weather stations that it would be a frustration to write so many If statements to contain those stations. is there a way to find their local weather station? If only one of these questions can be answered, I would prefer it be how to pull videos from youtube and play them on your channel.
While there are ways to pull YouTube videos for playback on Roku, it is disallowed by the YouTube Terms of Service. If you want to stream videos, you'll need to host them on your own CDN.
Per the YouTube TOS, Section 4.C.:
You agree not to access Content through any technology or means other than the video playback pages of the Service itself, the Embeddable Player, or other explicitly authorized means YouTube may designate.
As for weather services, you'll need to provide more information on what you're trying to do. Most weather services (e.g., Weather Channel, Weather Underground, AccuWeather, etc.) have APIs that can identify the user's location based on IP address, but these services typically cost money, especially if you intend to use them in a commercial application.
In YouTube's V2 API one could obtain a video's rating from the following tag
<gd:rating average="4.254023" numRaters="20509">
I am not finding this information contained within the new V3 api however.
I am using the videos api. I reviewed all of the available properties that can be returned at this location but while I am finding information about "ratings", that information pertains to movie and tv ratings, not how the video was rated.
https://developers.google.com/youtube/v3/docs/videos#properties
Does anyone have experience with this that may know?
From the link you posted, see the statistics object, specifically statistics.likeCount and statistics.dislikeCount.