List and Filter Playlists

Learn and practice to retrieve playlists and filter playlist attributes using the Dailymotion Data API.

Overview

A playlist is a place to group videos in one place. These videos are not necessarily related, but it is always better to keep videos organized by adding them to the relevant playlists.

In this lesson, we'll see the following endpoints of Data API related to the playlist object:

  • {base_url}/playlists
  • {base_url}/playlist/{PLAYLIST_ID}

Since we're fetching already available playlists only, our focus is on the GET method.

Get a list of playlists

This API call returns playlists available on Dailymotion. To retrieve a list of playlists, we'll add /playlists to the base URL of Dailymotion Data API.

Note: The code below extracts an ID to be used later, so don't forget to save the extracted value.

Get hands-on with 1200+ tech skills courses.