Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3722

How to retrieve game title bound to video [duplicate]

$
0
0

Does anyone know how to get the game title assigned to video via the Youtube API?

Game title screenshot from YT web. Here I need to get the Call of Duty game from this video:

Documentation doesn't have any information regarding game title in the video resource: https://developers.google.com/youtube/v3/docs/videos

API query with the broadest content settings returns this:

{"kind": "youtube#videoListResponse","etag": "0KGf7UH0NGSsvuQJqAEX4e1mE00","items": [    {"kind": "youtube#video","etag": "atR4AXswOz04SvjBEFuPTUpgEKo","id": "Tn2TgqkrCng","snippet": {"publishedAt": "2016-09-23T16:31:31Z","channelId": "UCv2IxyoJetx3b3nPbHJbx3g","title": "Batman: The Telltale Games Series [#7][Epizod 2 FINAŁ]","description": "Wrzućcie like'a na facebooku: ","thumbnails": {"default": {"url": "https://i.ytimg.com/vi/Tn2TgqkrCng/default.jpg","width": 120,"height": 90                },"medium": {"url": "https://i.ytimg.com/vi/Tn2TgqkrCng/mqdefault.jpg","width": 320,"height": 180                },"high": {"url": "https://i.ytimg.com/vi/Tn2TgqkrCng/hqdefault.jpg","width": 480,"height": 360                },"standard": {"url": "https://i.ytimg.com/vi/Tn2TgqkrCng/sddefault.jpg","width": 640,"height": 480                },"maxres": {"url": "https://i.ytimg.com/vi/Tn2TgqkrCng/maxresdefault.jpg","width": 1280,"height": 720                }            },"channelTitle": "Tivolt","tags": ["tivolt","let's play","zagrajmy w","gameplay","gry","zagrajmy","vlog","fajne","gta","batman","telltale"            ],"categoryId": "20","liveBroadcastContent": "none","localized": {"title": "Batman: The Telltale Games Series [#7][Epizod 2 FINAŁ]","description": "Wrzućcie like'a na facebooku: "            },"defaultAudioLanguage": "pl"        },"status": {"uploadStatus": "processed","privacyStatus": "public","license": "youtube","embeddable": true,"publicStatsViewable": true,"madeForKids": false        },"statistics": {"viewCount": "33035","likeCount": "1681","dislikeCount": "23","favoriteCount": "0","commentCount": "131"        },"player": {"embedHtml": "<iframe width=\"480\" height=\"270\" src=\"//www.youtube.com/embed/Tn2TgqkrCng\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>"        },"topicDetails": {"relevantTopicIds": ["/m/02vxn","/m/025zzc","/m/0403l3g"            ],"topicCategories": ["https://en.wikipedia.org/wiki/Action_game","https://en.wikipedia.org/wiki/Film","https://en.wikipedia.org/wiki/Role-playing_video_game"            ]        },"recordingDetails": {}    }],"pageInfo": {"totalResults": 1,"resultsPerPage": 1}}

As you can see, there is no info about game title. Has anyone struggled with this and knows the way how to do it?

Someone has already posted the same question here, but it looks like everyone misunderstood him, there is no correct answer and I have no rep to comment in this thread.


Viewing all articles
Browse latest Browse all 3722

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>