Search for Youtube videos by town - youtube

I'm using Youtube Api v3 and I want to search for video by their city of origin.
But in the documentation for the filter, it only covers how to see the videos from a specific country.
How can I narrow the search?

Currently, filtering by town is not supported, we hope to have it back soon.

Related

YouTube API V3 difficulties while fetching top channels based on specific country

I want to fetch top channels (i.e top 10,100,150 channels) based on their subscribers and view count for specific country, How can I do that?
I have tried to use
https://www.googleapis.com/youtube/v3/search
but there is not any way found to fetch/search top YouTube channels with this API call, and not other way found for my need
Note: Tried regionCode parameter but that's not for filter the channels it fetching based on videos viewing in specific country
Thank you for your help in advance
What you want to do is not currently possible with this api.
search.list
Supports searching on a single region code
The Q paramater only does a fulltext search on the description and title of the video
There is no way to sort on either channels or subscribers.

YouTube API- Related videos list

I would like to know how the related videos list is determined when using the API to retrieve a list of related videos for a particular video. Is this determined using the title, description and keywords of the video only? Or is collaborative filtering also used?

Explore videos with youtube api

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

What is the best YOU TUBE API to search videos by keyword in IOS

I want to search you tube videos by keyword using YOU TUBE API.
Is there any YOU TUBE API's with best results..while searching for videos.
I used YOU TUBE API V2 using below link
https://gdata.youtube.com/feeds/api/videos/-/fun?v=2&alt=jsonc&start-index=1
But it is not accurate..
Any Suggestions will be appreciated..
Thanks in Advance...
Your current search feed is not searching for videos whose metadata contains the word 'fun,' but is searching instead for videos where the category metadata contains the word 'fun' " (that's why the results are all in the Entertainment, Games, etc. categories). So instead, in V2, you'd want to send a query string:
https://gdata.youtube.com/feeds/api/videos?q=fun&v=2&alt=jsonc&start-index=1
However, the 'best results' that you ask for will be achieved through the v3 search endpoint:
https://www.googleapis.com/youtube/v3/search?part=snippet&q=fun&maxResults=50&key={YOUR_API_KEY}

How to get the items from youtube.com/music

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

Resources