How get all CategoryId for youtube video?

Reading youtube sarch docs at
I read :

The videoCategoryId parameter filters video search results based on their category. If you specify a value for this parameter, you must also set the type parameter’s value to video.

  1. But I suppose that there must be ids of all youtube categories?
    Where can I get it?

2)Using axios for youtube search I use code :

                let params= {  
                    part:       'snippet',
                    key:        this.youtubeApiKey,
                    q:          this.searchString,
                    maxResults: this.youtubeMaxResults,
                    type:       'video'

                axios.get('', {params})
                    .then(response => {

And I got results like :
{ "kind": "youtube#video", "videoId": "1_5sGUfqDWY" }, "snippet": { "publishedAt": "2020-10-03T18:44:26Z", "channelId": "UCoIVwPsLF7iAgUg-9Y3u9Cg", "title": "logo! am Samstagabend, 3. Oktober 2020", "description": "Folgen Sie uns auf Social Media Youtube : Twitter: Facebook: Abonnieren ...", "thumbnails": { "default": { "url": "", "width": 120, "height": 90 }, "medium": { "url": "", "width": 320, "height": 180 }, "high": { "url": "", "width": 480, "height": 360 } }, "channelTitle": "logo! Kinder Nachrichten", "liveBroadcastContent": "none", "publishTime": "2020-10-03T18:44:26Z" } }

But how to get like/dislike and authors for this videos?


Reading the docs I see
that in the videos docs there is statistics property that includes likeCount and dislikeCount.

I see that as I make search with request like:

It does not return statistics property, including likeCount/dislikeCount
These statistics can be read only with request like
so if I if upload 10 videos in request in search request I have to make additive 10 requests for
statistics of any video. There is no any other way?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.