Here, we give exact response from youtube apis.
Basics
Youtube provides details of video depend upon how much we ask. Youtube provides following types of information types:- Snippet
It includes details like published date, channel Id, title, description, thumbnail images of different sizes, title of channel, tags etc.
- ContentDetails
It has information like duration, dimension, definition, caption etc
- TopicDetails
Topic information, some links from wiki of the category of video.
- Statistics
View count, like count, dislike count, favorite count, comment count
Information example for a Video, Information level: (snippet, contentDetails, topicDetails, statistics)
{
"kind": "youtube#videoListResponse",
"etag": "etag of video",
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 1
},
"items": [
{
"kind": "youtube#video",
"etag": "etag of video",
"id": "video id",
"snippet": {
"publishedAt": "2017-08-07T10:11:04.000Z",
"channelId": "channel id",
"title": "title ",
"description": "description of video",
"thumbnails": {
"default": {
"url": "direct image url",
"width": 120,
"height": 90
},
"medium": {
"url": "direct image url",
"width": 320,
"height": 180
},
"high": {
"url": "direct image url",
"width": 480,
"height": 360
},
"standard": {
"url": "direct image url",
"width": 640,
"height": 480
}
},
"channelTitle": "Channel title",
"tags": [
"bunch of tags, if given"
],
"categoryId": "26",
"liveBroadcastContent": "none",
"defaultLanguage": "en-GB",
"localized": {
"title": "title",
"description": "description"
},
"defaultAudioLanguage": "en-GB"
},
"contentDetails": {
"duration": "PT3M9S",
"dimension": "2d",
"definition": "hd",
"caption": "false",
"licensedContent": true,
"projection": "rectangular"
},
"statistics": {
"viewCount": "7808",
"likeCount": "79",
"dislikeCount": "4",
"favoriteCount": "0",
"commentCount": "2"
},
"topicDetails": {
"relevantTopicIds": [
"/m/019_rr",
"/m/03glg",
"/m/019_rr",
"/m/03glg"
],
"topicCategories": [
"https://en.wikipedia.org/wiki/Lifestyle_(sociology)",
"https://en.wikipedia.org/wiki/Hobby"
]
}
}
]
}












