angular-dailymotion-api-factory is an angularjs module with a dailymotion api factory.
Author: Jonathan Hornung (JohnnyTheTank)
Usage
- Install via either bower, npm or downloaded files:
bower install --save angular-dailymotion-api-factory
npm install --save angular-dailymotion-api-factory
- download angular-dailymotion-api-factory.zip
- Add
jtt_dailymotion
to your application's module dependencies. - Include dependencies in your HTML.
- When using bower:
- When using npm:
- when using downloaded files
- Use the factory
dailymotionFactory
factory methods
getVideos
getVideosFromUserById
Get all parameters here
// all parameters: https://developer.dailymotion.com/tools/apiexplorer#/user/videos/listdailymotionFactory;
getVideosFromChannelById
Get all parameters here
// all parameters: https://developer.dailymotion.com/tools/apiexplorer#/channel/videos/listdailymotionFactory;
getVideosFromPlaylistById
Get all parameters here
// all parameters: https://developer.dailymotion.com/tools/apiexplorer#/playlist/videos/listdailymotionFactory;
getVideosByParams
Get all parameters here
// all parameters: https://developer.dailymotion.com/tools/apiexplorer#/video/listdailymotionFactory;
Dailymotion JSON API
- docs: https://developer.dailymotion.com/api
- api explorer: https://developer.dailymotion.com/tools/apiexplorer
License
MIT