RapidAPI logo

Sign Up

Log In

Dailymotion

FREE
By yrezgui
Updated 4 months ago
Entertainment
-/10
Popularity Score
-
Latency
-
Success Rate

Dailymotion API Documentation

This is a test of using Dailymotion in Mashape. I don't represent Dailymotion and I don't work with them. There was the first idea of API that I had, that's why.

View API Details
GETUser details
GETUser details

Get user informations

Authorization:

Authentification for Dailymotion (get the keys there : http://www.dailymotion.com/profile/developer)

Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationOAUTH2
REQUIREDAuthentification for Dailymotion (get the keys there : http://www.dailymotion.com/profile/developer)
Required Parameters
user_idSTRING
REQUIRED
Optional Parameters
fieldsSTRING
OPTIONAL
Request Snippet
unirest.get("https:///user/xl?fields=avatar_medium_url%2Cbirthday%2Cfullname%2Cusername%2Cviews_total")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https:///user/xl?fields=avatar_medium_url%2Cbirthday%2Cfullname%2Cusername%2Cviews_total")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication