YouTube Data API v3で特定の動画の再生回数を取得する ref: http://qiita.com/items/bd7b85f4ee5b2f6a3d00
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
https://www.googleapis.com/youtube/v3/videos?part=statistics&id=EJNPYff3lxU&fields=items%2Fstatistics&key={YOUR_API_KEY_HERE} |
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
{ | |
"items": [ | |
{ | |
"statistics": { | |
"viewCount": "48", | |
"likeCount": "0", | |
"dislikeCount": "0", | |
"favoriteCount": "0", | |
"commentCount": "0" | |
} | |
} | |
] | |
} |
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
https://www.googleapis.com/youtube/v3/videos?part=statistics&id=EJNPYff3lxU%2CuYPYlfuuY_E&fields=items(id%2Cstatistics)&key={YOUR_API_KEY} |
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
{ | |
"items": [ | |
{ | |
"id": "EJNPYff3lxU", | |
"statistics": { | |
"viewCount": "48", | |
"likeCount": "0", | |
"dislikeCount": "0", | |
"favoriteCount": "0", | |
"commentCount": "0" | |
} | |
}, | |
{ | |
"id": "uYPYlfuuY_E", | |
"statistics": { | |
"viewCount": "11", | |
"likeCount": "0", | |
"dislikeCount": "0", | |
"favoriteCount": "0", | |
"commentCount": "0" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment