@alexjorgef/gatsby-source-discogs
v0.0.1
Published
Gatsby source plugin for Discogs
Downloads
181
Maintainers
Readme
@alexjorgef/gatsby-source-discogs
Source playlists from Discogs into Gatsby.
Install
npm install @alexjorgef/gatsby-source-discogs
How to use
Add the plugin to your gatsby-config
file:
module.exports = {
plugins: [
{
resolve: `@alexjorgef/gatsby-source-discogs`,
options: {}
}
]
}
Plugin Options
api_token (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
{
resolve: `@alexjorgef/gatsby-source-discogs`,
options: {
api_token: `YOUR_API_TOKEN`,
},
}
username (required)
Your Discogs username.
Field type: String
{
resolve: `@alexjorgef/gatsby-source-discogs`,
options: {
username: `alexjorgef`,
},
}