# gatsby-source-dailymotion

> Gatsby source to fetch data from dailymotion API

Latest version **1.0.0** (published 2019-03-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install gatsby-source-dailymotion
pnpm add gatsby-source-dailymotion
yarn add gatsby-source-dailymotion
bun add gatsby-source-dailymotion
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-03-03 |
| First published | 2019-03-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Niyas Rahman |
| Maintainers | niyasrahman |
| Keywords | gatsby, gatsbyjs, gatsby-plugin, gatsby-source, dailymotion |

## Links

- npm: https://www.npmjs.com/package/gatsby-source-dailymotion
- Repository: https://github.com/niyasrahman/gatsby-source-dailymotion
- Homepage: https://github.com/niyasrahman/gatsby-source-dailymotion#readme
- Issues: https://github.com/niyasrahman/gatsby-source-dailymotion/issues
- npm.io page: https://npm.io/package/gatsby-source-dailymotion

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.3.0

## Alternatives

- [@luma.gl/experimental](https://npm.io/package/@luma.gl/experimental.md) — 77.1K weekly downloads
- [persona-harness](https://npm.io/package/persona-harness.md) — 4.7K weekly downloads
- [@tsparticles/effect-bubble](https://npm.io/package/@tsparticles/effect-bubble.md) — 4.6K weekly downloads
- [f3d](https://npm.io/package/f3d.md) — 730 weekly downloads
- [spark-html-motion](https://npm.io/package/spark-html-motion.md) — 298 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-03-03

## README

# gatsby-source-dailymotion

Source plugin for pulling data into Gatsby from Dailymotion user videos endpoint.



## Install

`npm install --save gatsby-source-dailymotion`
or
`yarn add gatsby-source-dailymotion`

## How to use

```javascript
// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-source-dailymotion`,
    options: {
      options: {
        user: "<USER-NAME>",
        limit: "100",
      },
  },
];
```

## Plugin Options

### user

###### REQUIRED

```
User ID that you want to fetch videos from
```


## Examples of how to query:

Get all the videos:

```graphql
{
  allDailymotionVideo{
      edges {
        node {
          id
          embed_url
          embed_html
          title
          url
          created_time
          thumbnail_large_url
          description
        }
      }
  	}
}

```


## Note

Remember you are only fetching video information, so this will provide
you with Video titles, descriptions, embedded iframes and thumbnails.

---
_Source: https://npm.io/package/gatsby-source-dailymotion · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
