In v2 of the youtube api, I could get the country of a channel by getting it's user information (https://gdata.youtube.com/feeds/api/users/userId) and looking at the Location property. It seems like it doesn't exists in v3 of the api.
Since I'm only interested in channels from a specific country, is there a way to know in which country a channel is in?
The only workaround is using guideCategories.
You can list guideCategories by region.
Then in your channels->list call you can plug that category ids.
The regionCode
parameter DOES NOT do what you're thinking :)
It just sends back videos that ARE AVAILABLE in that country, not the one PUBLISHED in the country.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With