I'm trying to get a Youtube channel featured or default video ID from youtube API.How can I get the youTube featured-video URL using the youTube API?
You can use videoCategories and guideCategories for that.
Here's the full blog.
GDL video.
Related
I am working on Youtube API v3 .. I was succeeded to get videos of a Youtube Channel. and then I was trying to get the thumbnail of a channel but couldn't be able to do that... can someone here have any solution for this ? I think the API doesn't return thumbnail of a channel
NOTE : I need the Thumbnail of a channel not the videos inside..
code:
https://www.googleapis.com/youtube/v3/search?key=API_KEY&channelId=CHANNEL_ID&
part=snippet&order=date&maxResults=40
How can i get video URL using YouTube data API(JAVA)?
You cant! use www.youtube.com/get_video_info API
I need the API URL for Youtube Related Videos using the Youtube V3 API.
But I couldn't find the direct API call, like it is in Version 2. Did I miss something?
https://developers.google.com/youtube/v3/docs/
Are you trying to find videos related to a video?
You can use search->list call for this with specifying the "relatedToVideoId"
And for anyone looking for a coded example:
GET https://www.googleapis.com/youtube/v3/search?part=snippet&relatedToVideoId=5rOiW_xY-kc&type=video&key={YOUR_API_KEY}
Is possible to retrieve (get) captions for a YouTube video (not owned by the user) from the YouTube API?
In v2, you can access only your videos captions.
In v3, there is no support for captions yet, but will be supported soon.
It's a Terms of Service issue, not to provide these captions.
Getting a thumbnail of a YouTube video is done by the following request :
http://img.youtube.com/vi/'.$youtube_v_code.'/1.jpg
How can I get the thumbnail image of a YouTube User or Channel ?
You need use gdata to access api from google, I think this is the easiest way.