Skip to content

How to get a list of Playlists from a Channel ID #773

Discussion options

You must be logged in to vote

Well then, down to a lower level it is ^^

Requirements:

Code to fetch list of PlaylistIDs from a ChannelID:
using Google.Apis.Services;
using Google.Apis.YouTube.v3;

    private async Task<List<string>> GetPlaylistsAsync(string channelId)
    {
        var youtubeService = new YouTubeService(new BaseClientService.Initializer() { ApiKey = "enter api key here" });

        var playlistListRequest = youtubeService.Playlists.List("snippet");
        playlistListRequest.ChannelId = channelId;

        var playlistListResponse = await playlistL…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@BourgeoisDirk
Comment options

@BourgeoisDirk
Comment options

@Tyrrrz
Comment options

@BourgeoisDirk
Comment options

@Tyrrrz
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by BourgeoisDirk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants