How to get ID of last uploaded video to YouTube?

Behold

Is it possible to get the ID of the last uploaded video to the specific YouTube channel, based on channel name, eventually channel ID?

I need get a thumbnail from last video:

http://img.youtube.com/vi/<VIDEO-ID>/maxresdefault.jpg
vi_ral

In order to get this video id you can use the YouTube Data API

You can make a curl request to: https://www.googleapis.com/youtube/v3/search?key={your_key_here}&channelId={channel_id_here}&part=snippet,id&order=date&maxResults=1

This would return a JSON with a video id for the latest youtube video.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

C# Using Youtube API - How do I check the last time a particular user uploaded a video to Youtube?

how to get youtube player id and stop video

Youtube API v3 get the Channel ID of user that uploaded a certain video

How can I get a Youtube video ID from the Youtube API given the video url?

How do I get the YouTube video ID from a URL?

How to get youtube video id from URL with java?

How to get live video id from YouTube channel

How to parse YouTube video ID?

How to get YouTube videos in order of date uploaded

How to get videoId when video is uploaded on Vimeo

How to get video tags from youtube video?

Youtube Data API - How to get video comments from multiple video id

separate get requests for each youtube video ID

If user video removed from youtube , how do I change featured video to newest uploaded video on my website?

Get youtube video id from youtube url in smarty template?

Get youtube video Id from shared video Url

how to check if a video id exists on youtube

How to download youtube videos from a channel as soon as the video is uploaded using youtube-dl?

YouTube API v3 get last video in playlist

how to get video id from clicking youtube search page link in a webview

Given the video ID, how to get it's title using YouTube Data API v.3

How do I parse YouTube URLs to get the video ID from a URL using Dart?

I need some help in correcting my codes in php - How to get the video id from a YouTube URL

How to get number of video views with YouTube API?

How to Get Youtube Video URL Programmatically

How to get the data of a video from youtube in javascript

How to get youtube video description with pytube

How to display Youtube 10 Trending Video with video id?

Flutter Dart : How to extract youtube video ID from video URL?