I am trying to create a clone of Youtube app & using Youtube API v3 how to get list of thumbnails with info what has videos on original Youtube page?

143 views Asked by At

I am using a request:

https://www.googleapis.com/youtube/v3/search?part=snippet&type=video&q={search value}&maxResults=3&key={key}`

This way I am getting json with info about video thumbnails and descriptions what i need but I don't have an url to channel picture and don't have infro how many views has a video.

I found the way to get the info about channel URL logo in separate request

https://www.googleapis.com/youtube/v3/search?part=snippet&channelId={id}

but it doesn't look right to make additional separate requests for every single logo of the list and Views statistics.

Also, is it possible to get in the same request for embedded video URL's as well?

1

There are 1 answers

8
Benjamin Loison On

You are right, it's impossible from a search query q=${searchValue} to get the associated channel thumbnail URL in a single request.