https://github.com/alexjorgef/gatsby-source-discogs
Source playlists from Discogs into Gatsby
https://github.com/alexjorgef/gatsby-source-discogs
discogs discogs-api gatsby gatsby-plugin gatsby-plugins gatsbyjs
Last synced: 3 months ago
JSON representation
Source playlists from Discogs into Gatsby
- Host: GitHub
- URL: https://github.com/alexjorgef/gatsby-source-discogs
- Owner: alexjorgef
- License: mit
- Created: 2024-06-23T14:25:48.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T19:45:13.000Z (almost 2 years ago)
- Last Synced: 2025-02-16T01:03:27.898Z (over 1 year ago)
- Topics: discogs, discogs-api, gatsby, gatsby-plugin, gatsby-plugins, gatsbyjs
- Language: TypeScript
- Homepage: https://gatsby-source-discogs-demo.netlify.app
- Size: 1.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# @alexjorgef/gatsby-source-discogs
Source playlists from [Discogs](https://www.discogs.com/) into [Gatsby](https://www.gatsbyjs.com/).
## Install
```shell
npm install @alexjorgef/gatsby-source-discogs
```
## How to use
Add the plugin to your `gatsby-config` file:
```js:title=gatsby-config.js
module.exports = {
plugins: [
{
resolve: `@alexjorgef/gatsby-source-discogs`,
options: {}
}
]
}
```
## Plugin Options
- [@alexjorgef/gatsby-source-discogs](#alexjorgefgatsby-source-discogs)
- [Install](#install)
- [How to use](#how-to-use)
- [Plugin Options](#plugin-options)
- [api_token (**required**)](#api_token-required)
- [username (**required**)](#username-required)
### api_token (**required**)
Your Discogs API token. Create an account on Discogs, go to [Settings > Developers](https://www.discogs.com/settings/developers) to register an app and copy the API token.
**Field type**: `String`
```js
{
resolve: `@alexjorgef/gatsby-source-discogs`,
options: {
api_token: `YOUR_API_TOKEN`,
},
}
```
### username (**required**)
Your Discogs username.
**Field type**: `String`
```js
{
resolve: `@alexjorgef/gatsby-source-discogs`,
options: {
username: `alexjorgef`,
},
}
```