Youtube Api v3, category and country specifications

I work with Youtube Api v3 and I collect some information about the video. In particular, I am interested in the parameters of the category and country / region. With a video list and video type = "movie" you can get the categoryId of each video. How can we match each categoryId, which is a number, with a specified category of films, for example Comedy. Can I also get the region that comes with each video?

Thanks in advance.

+3
source share
1 answer

You can do videoCategories-> list to get category information with id.

The API does not provide a region code for each video, although you can always search-> list with region filtering.

The API provides a video-related location or file recording location, if available.

+2
source

Source: https://habr.com/ru/post/956133/


All Articles