api-samples
api-samples copied to clipboard
Search by viewCount gives incorrect results
On calling https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=*channelId*&key=*api_key*&maxResults=5&order=viewCount&type=video I am supposed to get the most viewed videos of the channel.
In the response's items array's first element is a 6 months old video with around 4k views.
On the channel's Youtube page if I sort by most viewed, the first one is 10 years old with 200k views.