Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

youtube api - get most subscribed gaming channels in poland

$
0
0

My goal is to obtain most subscribed gaming channels in Poland.I've created request like

GET https://www.googleapis.com/youtube/v3/search?part=snippet&channelType=any&q=gaming&regionCode=pl&relevanceLanguage=pl&topicId=%2Fm%2F0bzvm2&type=channel HTTP/1.1

And I obtained some channels. Then I used this request to obtain information about subscription count of 1 of obtained channels:

GET https://www.googleapis.com/youtube/v3/channels?part=snippet&part=statistics&id=UCkHooOtMNRCc54XFKBAisdg HTTP/1.1

I received a result like

"viewCount": "15317994", "subscriberCount": "115000", "videoCount": "211" which is correct.

What problem do I have? Just few:

  1. How to retrieve top gaming channels in poland ordered by subscription using one request?
  2. When I remove gaming from query then I retrieve not only Polish channels, why?

Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>