1.0.1 • Published 7 years ago

gatsby-source-trakttv v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

gatsby-source-trakttv

Source plugin for pulling data into Traktv account to Wacthed History endpoint.

Install

yarn install gatsby-source-trakttv

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-source-trakttv`,
    options: {
      api_key: 'INSERT_APIKEY',
      username: 'INSERT_USERNAME'      
    },
  },
];

Example Queries

query {
    TrakttvWatchedMovies{
        id,
        movie {
            title
        }
    }
}
query {
    TrakttvWatchedShows{
        id,
        show {
            title
        }
    }
}
1.0.1

7 years ago

1.0.0

7 years ago