Gatsby source plugin for Discogs
npm install @alexjorgef/gatsby-source-discogsSource playlists from Discogs into Gatsby.
``shell`
npm install @alexjorgef/gatsby-source-discogs
Add the plugin to your gatsby-config file:
`js:title=gatsby-config.js@alexjorgef/gatsby-source-discogs
module.exports = {
plugins: [
{
resolve: ,`
options: {}
}
]
}
- @alexjorgef/gatsby-source-discogs
- Install
- How to use
- Plugin Options
- api_token (required)
- username (required)
Your Discogs API token. Create an account on Discogs, go to Settings > Developers to register an app and copy the API token.
Field type: String
`js@alexjorgef/gatsby-source-discogs
{
resolve: ,YOUR_API_TOKEN
options: {
api_token: ,`
},
}
Your Discogs username.
Field type: String
`js@alexjorgef/gatsby-source-discogs
{
resolve: ,alexjorgef
options: {
username: ,``
},
}