Introduction to the Dailymotion Data API

Get introduced to the Dailymotion Data API and the learning outcomes of this course.

Overview

Dailymotion is a platform where users can upload and watch videos. Dailymotion API makes it easier for developers to integrate its functionalities into their applications and offers numerous endpoints to access different services provided by Dailymotion. The APIs that extract public data can be called without any authentication key, and user-specific data is accessed through the authentication process. Some objects of Dailymotion include videos, users, channels, and playlists. Each of these is identified through a unique ID. All these objects are connected with each other. For example, a user creates a channel, and then the videos are uploaded to it. After that, these videos can be grouped into a playlist.

Supported methods

Dailymotion API uses HTTP methods to perform the intended tasks. The most commonly used and supported HTTP methods are GET, POST, and DELETE.

Response types

The Dailymotion Data API results are sent to us in JSON format. A single result is shown as an item, and more than one result is shown in a list that contains the items.

Besides these items, a response list contains some other properties as well. The following table explains these properties:

Name

Type

Category

Description

page

Number

Required

This shows the page number returned in the response. The first page is returned by default, but we can pass a number (the maximum limit is 100).

limit

Number

Required

This is the number of items shown in a result per request. The limit can be passed in the parameter according to preference. The maximum limit is 100.

explicit

Boolean

Required

This is true if any of the items in the list has a flag marked as explicit.

total

Number

Required

This tells us an estimated number of total items in a particular call.

has_more

Boolean

Required

This tells us whether the next page exists or not.

We’ll learn about objects of Dailymotion and their functionalities. These include:

  • Getting familiar with Dailymotion videos and playlists.
  • Getting familiar with user and channels endpoints.