http://youtube.com/music lists the top 100 music videos on YouTube. How do I get these with the Data API? Can't find it documented anywhere.
The page doesn't have any RSS/Atom feeds. I don't want to scrape it :/
YouTube Data API documentation:
http://code.google.com/intl/sv/apis/youtube/2.0/reference.html
From what I can see the YouTube page ( http://youtube.com/music ) to which you refer gets the list video using different criteria. A good starting point to performs a search similiar is the example:
http://code.google.com/p/gdata-samples/source/browse/trunk/gdata/topic-explorer
Filtering freebase topics and leaving only those related to music
Related
Youtube added the ability to break up their videos in the progress bar into sections called "chapters". As seen here Video Chapters
I would like to post a video via API and add chapters, I have not been able to find any documentation or example in the API about this.
This method is not currently available in the YouTube Data api, it appears to just be part of YouTube studio.
YOu may want to add a feature request maybe its something they will add to the api.
I would like is to be able to search youtube for any given keyword or Channel, and for the results to show in a list basic information about the video, including video title, number of views, number of comments, when the video was posted and which videos are currently monetized. What I would then like to be able to do is create a list of all the monetized videos along with the URL's..
Can anyone knows how to do it?
I don't see any documentations regarding your concern. I only checked on this documentation that you can only get a list of videos that match the API request parameters using Videos: list. You can only get channelId, title, description, tags, and categoryId. You may check this thread on how to check monetized and non-monetized videos from my YouTube channel. You may also read this Monetization Guidelines from YouTube.
Can i with youtube api explore videos without added search keyword e.g. popular videos per country,new videos,last comments videos or something like that where i can get videos without added search keyword ?
You can check out the Video Feeds developer guide to search for most popular videos and other feeds. You can also limit it to a certain user, country, etc.
In v3, you can use chart=mostPopular option of youtube.search.list.
https://developers.google.com/youtube/v3/guides/implementation/videos#videos-retrieve-most-popular-videos
If you want to get TOP 10 videos in Geographic areas, 7DayTotals, 30DayTotals, ..., you can use dimensions of YouTube Analytics API.
https://developers.google.com/youtube/analytics/v1/dimsmets/dims
I'm trying to add videos to an existing ASP.NET MVC site, and I'd like to show videos from our YouTube channel.
I have added a tag to each video to indicate what page it should appear on. I had thought that I could search our channel by tag on each page to render the relevant video on that page.
I'm trying to exclusively use the API v3, but it seems I can't do this.
I can't use developer tags, because videos are uploaded by multiple users using the standard YouTube front end. This seems like basic functionality, so I'm assuming it's my inexperience with this API.
As an example, our YouTube channel is ChillinWithCharlie. During development, one video is tagged 20141213Cheneys.
I can get all videos in our channel, but is there a way to query the v3 API to retrieve just this video?
I've seen one suggestion here that I retrieve all videos, and filter in code. This feels inefficient, so I'd rather not do this, but I can't even see where the tag is returned with all channel videos, that I could interrogate in code.
It's not just you. There seems to be no specific query parameter to search by tag with API v3.
I would recommend doing a search with your tag in the 'q' (search) parameter, then checking the results to see if the tag exists in the returned snippet->tags property to verify the exact video.
Note YouTube tags are only visible to the video's uploader.
https://developers.google.com/youtube/v3/docs/videos#snippet.tags[]
Is there any YouTube API which enables external applications to search for keyword/brand name across all video comments on YouTube and send it back to some URL? Also, pull method is fine if the proposed push idea does not exist.
So I would like to know if my brand was mentioned in any video comment on YouTube, similar as what Twitter allows with User/Site Streams.
The YouTube API (v2.0) defines comments as a property of the video object. Details on this relationship here:
https://developers.google.com/youtube/2.0/developers_guide_protocol_comments?hl=en#Retrieve_comments
Therefore, in order to search every YouTube comment you would need to traverse the entire collection of videos. If you're going to attempt something like this, it makes sense to validate your concept by first focusing on the feeds or categories that are most relevant to your brand. Details on feed and categories here:
https://developers.google.com/youtube/2.0/developers_guide_protocol_video_feeds
https://developers.google.com/youtube/2.0/developers_guide_protocol_category_keyword_browsing
No, there isn't anything like this available from the existing youtube api (neither V2 nor V3)