I want to get a count of the total number of videos uploaded to a YouTube channel using the youtubeanalytics api. Can someone tell me the correct metric and dimensional combinations for this? Thank!
You can get the number of videos using the following query .....
https://gdata.youtube.com/feeds/api/users/YourChannelID/uploads?v=2&alt=jsonc&max-results=0
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}
Search statistics.videoCountin the answer. The documents for the endpoint are listed here .
statistics.videoCount