Johannes Klauß
Johannes Klauß

Reputation: 11020

Get a list of videos from a specific channel via JavaScript

I want to retrieve a list of videos from a specific channel via JS.

I created a project in the Developer Console and added the youtube API v3 as well as a API key.

But I can't find a rest call to get a list of videos for a channel. This documentation is driving me crazy.

How can I achieve this in the client?

Upvotes: 1

Views: 1370

Answers (1)

Ibrahim Ulukaya
Ibrahim Ulukaya

Reputation: 12877

Here is a version of it to get your own uploaded videos:

https://github.com/youtube/api-samples/blob/master/javascript/my_uploads.js

The only change you'd have to do is instead of using mine=true at line 14,

use id=CHANNEL_ID

Upvotes: 1

Related Questions