{"id":15024664,"url":"https://github.com/johnnythetank/aping-plugin-dailymotion","last_synced_at":"2026-01-04T17:07:54.577Z","repository":{"id":57182137,"uuid":"48444219","full_name":"JohnnyTheTank/apiNG-plugin-dailymotion","owner":"JohnnyTheTank","description":"Dailymotion Plugin for apiNG","archived":false,"fork":false,"pushed_at":"2017-09-10T23:14:35.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T10:14:59.867Z","etag":null,"topics":["angular","api","aping","aping-plugin","dailymotion","social-wall"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohnnyTheTank.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-22T17:07:43.000Z","updated_at":"2016-10-26T12:00:41.000Z","dependencies_parsed_at":"2022-09-03T06:21:43.109Z","dependency_job_id":null,"html_url":"https://github.com/JohnnyTheTank/apiNG-plugin-dailymotion","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnnyTheTank%2FapiNG-plugin-dailymotion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnnyTheTank%2FapiNG-plugin-dailymotion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnnyTheTank%2FapiNG-plugin-dailymotion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnnyTheTank%2FapiNG-plugin-dailymotion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnnyTheTank","download_url":"https://codeload.github.com/JohnnyTheTank/apiNG-plugin-dailymotion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937833,"owners_count":20535127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","api","aping","aping-plugin","dailymotion","social-wall"],"created_at":"2024-09-24T20:00:42.657Z","updated_at":"2026-01-04T17:07:54.545Z","avatar_url":"https://github.com/JohnnyTheTank.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[logo]: http://aping.io/logo/320/aping-plugin.png \"apiNG Plugin\"\n![apiNG][logo]\n\n[![Join the chat at https://gitter.im/JohnnyTheTank/apiNG](https://img.shields.io/badge/GITTER-join%20chat-green.svg)](https://gitter.im/JohnnyTheTank/apiNG?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![npm version](https://badge.fury.io/js/aping-plugin-dailymotion.svg)](https://badge.fury.io/js/aping-plugin-dailymotion)\n[![Bower version](https://badge.fury.io/bo/apiNG-plugin-dailymotion.svg)](https://badge.fury.io/bo/apiNG-plugin-dailymotion)\n\n**_apiNG-plugin-dailymotion_** is a [Dailymotion Data API](https://developer.dailymotion.com/api) plugin for [**apiNG**](https://github.com/JohnnyTheTank/apiNG).\n\n# Information\n* **Supported apiNG models: `social`, `video`**\n* This plugin supports the [`get-native-data` parameter](https://aping.readme.io/docs/advanced#parameters)\n* Used promise library: [angular-dailymotion-api-factory](https://github.com/JohnnyTheTank/angular-dailymotion-api-factory) _(included in distribution files)_\n\n# Documentation\n1. [INSTALLATION](#1-installation)\n    1. Get file\n    2. Include file\n    3. Add dependency\n    4. Add plugin\n2. [USAGE](#2-usage)\n    1. Models\n    2. Requests\n\n## 1. INSTALLATION\n\n### I. Get file\nInstall via either [bower](http://bower.io/), [npm](https://www.npmjs.com/), CDN (jsDelivr) or downloaded files:\n\n* `bower install apiNG-plugin-dailymotion --save`\n* `npm install aping-plugin-dailymotion --save`\n* use [CDN file](https://www.jsdelivr.com/projects/aping.plugin-dailymotion)\n* download [apiNG-plugin-dailymotion.zip](https://github.com/JohnnyTheTank/apiNG-plugin-dailymotion/zipball/master)\n\n### II. Include file\nInclude `aping-plugin-dailymotion.min.js` in your apiNG application\n\n```html\n\u003c!-- when using bower --\u003e\n\u003cscript src=\"bower_components/apiNG-plugin-dailymotion/dist/aping-plugin-dailymotion.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- when using npm --\u003e\n\u003cscript src=\"node_modules/aping-plugin-dailymotion/dist/aping-plugin-dailymotion.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- when using cdn file --\u003e\n\u003cscript src=\"//cdn.jsdelivr.net/npm/aping-plugin-dailymotion@latest/dist/aping-plugin-dailymotion.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- when using downloaded files --\u003e\n\u003cscript src=\"aping-plugin-dailymotion.min.js\"\u003e\u003c/script\u003e\n```\n\n### III. Add dependency\nAdd the module `jtt_aping_dailymotion` as a dependency to your app module:\n```js\nangular.module('app', ['jtt_aping', 'jtt_aping_dailymotion']);\n```\n\n### IV. Add the plugin\nAdd the plugin's directive `aping-dailymotion=\"[]\"` to your apiNG directive and [configure your requests](#ii-requests)\n```html\n\u003caping\n    template-url=\"templates/social.html\"\n    model=\"social\"\n    items=\"20\"\n    aping-dailymotion=\"[{'search':'eminem'}]\"\u003e\n\u003c/aping\u003e\n```\n\n## 2. USAGE\n\n### I. Models\nSupported apiNG models\n\n|  model   | content | support | max items\u003cbr\u003eper request | (native) default items\u003cbr\u003eper request |\n|----------|---------|---------|--------|---------|\n| `social` | **videos** | full    | `100`   | `10`   |\n| `video`  | **videos** | full    | `100`   | `10`   |\n\n**support:**\n* full: _the source platform provides a full list with usable results_ \u003cbr\u003e\n* partly: _the source platfrom provides just partly usable results_\n\n\n### II. Requests\nEvery **apiNG plugin** expects an array of **requests** as html attribute.\n\n#### Requests by User\n|  parameter  | sample | default | description | optional |\n|----------|---------|---------|---------|---------|\n| **`userId`** | `brtvofficial` |  | User ID  | no |\n| **`search`**  | `eminem` |   | Limit the result set to this full text search |  yes  |\n| **`tags`**  | `hiphop,rap` |   | Limit the result set to this full text search of video tags |  yes  |\n| **`channelId`**  | `music` |   | Limit the result set to this channel ([Browse channels](http://www.dailymotion.com/browse)) |  yes  |\n| **`items`**  | `25` | `10` | Items per request (`0`-`100`) |  yes  |\n| **`protocol`**  | `https` |  | Use `https` or `http` to force the protocol. Leave it blank to for dynamic choice. Works only for model `video` |  yes  |\n\n\nSample requests:\n* `[{'userId':'lolaflips'}, {'userId':'thepetcollective'}]`\n* `[{'userId':'FailArmy', 'items':30, 'search':'2015'}]`\n\n#### Requests by Channel\n|  parameter  | sample | default | description | optional |\n|----------|---------|---------|---------|---------|\n| **`channelId`**  | `music` |   | Limit the result set to this channel ([Browse channels](http://www.dailymotion.com/browse)) |  no  |\n| **`search`**  | `eminem` |   | Limit the result set to this full text search |  yes  |\n| **`tags`**  | `hiphop,rap` |   | Limit the result set to this full text search of video tags |  yes  |\n| **`items`**  | `25` | `10` | Items per request (`0`-`100`) |  yes  |\n| **`protocol`**  | `https` |  | Use `https` or `http` to force the protocol. Leave it blank to for dynamic choice. Works only for model `video` |  yes  |\n\nSample requests:\n* `[{'channelId':'music'}]`\n\n#### Requests by Playlist\n|  parameter  | sample | default | description | optional |\n|----------|---------|---------|---------|---------|\n| **`playlistId`**  | `x439f7_brtvofficial_br-highlights-september` |   | Limit the result set to this playlist |  no  |\n| **`search`**  | `eminem` |   | Limit the result set to this full text search |  yes  |\n| **`tags`**  | `hiphop,rap` |   | Limit the result set to this full text search of video tags |  yes  |\n| **`items`**  | `25` | `10` | Items per request (`0`-`100`) |  yes  |\n| **`protocol`**  | `https` |  | Use `https` or `http` to force the protocol. Leave it blank to for dynamic choice. Works only for model `video` |  yes  |\n\nSample requests:\n* `[{'playlistId':'x439f7_brtvofficial_br-highlights-september'}]`\n\n#### Requests by Search\n|  parameter  | sample | default | description | optional |\n|----------|---------|---------|---------|---------|\n| **`search`**  | `eminem` |   | Limit the result set to this full text search |  no  |\n| **`tags`**  | `hiphop,rap` |   | Limit the result set to this full text search of video tags |  yes  |\n| **`genre`**  | `comedy` |   | \tLimit the result set to this genre of videos |  yes  |\n| **`country`**  | `us` |   | Limit the result set to this country (declarative) |  yes  |\n| **`language`**  | `en` |   | Limit the result set to this language |  yes  |\n| **`items`**  | `25` | `10` | Items per request (`0`-`100`) |  yes  |\n| **`protocol`**  | `https` |  | Use `https` or `http` to force the protocol. Leave it blank to for dynamic choice. Works only for model `video` |  yes  |\n\nSample requests:\n* `[{'search':'adele'}]`\n* `[{'search':'Louis C K', 'language':'en', 'items':5}]`\n\n#### Requests by Tags\n|  parameter  | sample | default | description | optional |\n|----------|---------|---------|---------|---------|\n| **`tags`**  | `hiphop,rap` |   | Limit the result set to this full text search of video tags |  no  |\n| **`search`**  | `eminem` |   | Limit the result set to this full text search |  yes  |\n| **`genre`**  | `comedy` |   | \tLimit the result set to this genre of videos |  yes  |\n| **`country`**  | `us` |   | Limit the result set to this country (declarative) |  yes  |\n| **`language`**  | `en` |   | Limit the result set to this language |  yes  |\n| **`items`**  | `25` | `10` | Items per request (`0`-`100`) |  yes  |\n| **`protocol`**  | `https` |  | Use `https` or `http` to force the protocol. Leave it blank to for dynamic choice. Works only for model `video` |  yes  |\n\nSample requests:\n* `[{'tags':'soccer'}]`\n* `[{'tags':'fcbayern,müller', 'language':'de', 'items':5}]`\n\n# Licence\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnnythetank%2Faping-plugin-dailymotion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnnythetank%2Faping-plugin-dailymotion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnnythetank%2Faping-plugin-dailymotion/lists"}