Created
October 27, 2018 12:57
-
-
Save productioncoder/688360befff2394c5cfde102112c045a to your computer and use it in GitHub Desktop.
Youtube most popular videos by id
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"kind": "youtube#videoListResponse", | |
"nextPageToken": "CAUQAA", | |
"pageInfo": { | |
"totalResults": 200, | |
"resultsPerPage": 5 | |
}, | |
"items": [ | |
{ | |
"kind": "youtube#video", | |
"id": "2vWp2spX4FU", | |
"snippet": { | |
"publishedAt": "2018-10-22T16:12:23.000Z", | |
"channelId": "UCKuHFYu3smtrl2AwwMOXOlg", | |
"title": "Jada Finally Broke Me.", | |
"channelTitle": "Will Smith", | |
"categoryId": "24" | |
}, | |
"contentDetails": "..." | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET https://www.googleapis.com/youtube/v3/videos?part=snippet%2CcontentDetails%2Cstatistics&chart=mostPopular&videoCategoryId=1&key={YOUR_API_KEY} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment