I want to get the count of the total no of video uploaded to a YouTube channel using YouTube analytics API. Can any one please tell me the correct metric and dimension combination for this?
4
votes
2 Answers
4
votes
You can use the following URL for the Data API:
https://www.googleapis.com/youtube/v3/channels?part=statistics&forUsername=VideoLecturesChannel&key={YOUR_API_KEY}
Look for statistics.videoCount
in the response. The docs for the endpoint are here.