Youtube API - get views by cities?

It is possible?

I read the documentation, there are examples of receiving the number of views by country, but I need the number of views by city.

Upvotes: 0

Views: 207

Answers (1)

Linda Lawton - DaImTo
Linda Lawton - DaImTo

Reputation: 117254

regionCode string The regionCode parameter instructs the API to return search results for videos that can be viewed in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.

The YouTube API only supports searching by region code that being ISO 3166-1 alpha-2 country code

No you cant search by city.

Upvotes: 1

Related Questions