Source playlists from Discogs into Gatsby.
npm install @alexjorgef/gatsby-source-discogs
Add the plugin to your gatsby-config
file:
module.exports = {
plugins: [
{
resolve: `@alexjorgef/gatsby-source-discogs`,
options: {}
}
]
}
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`,
},
}
Your Discogs username.
Field type: String
{
resolve: `@alexjorgef/gatsby-source-discogs`,
options: {
username: `alexjorgef`,
},
}