Igor
Igor

Reputation: 2369

when i try to get all playlists on a channel, youtube/v3/playlists request returns an empty list of playlists

Playlists are actually existed on a channel. I can see them on youtube but when I try to get all playlists on a channel with API, I get an empty result.

Request:

curl -X GET "https://www.googleapis.com/youtube/v3/playlists?part=snippet%2CcontentDetails&channelId=[channel ID]&key=[key]&maxResults=50" --header 'Accept: application/json'

Reply:

{
  "kind": "youtube#playlistListResponse",
  "etag": "PqCO86vmlUDWFiOBSqOsOZRp5jE",
  "pageInfo": {
    "totalResults": 0,
    "resultsPerPage": 50
  },
  "items": []
}

Upvotes: 0

Views: 16

Answers (0)

Related Questions