A Go client for the Discogs API.
This is a work in progress. I will implement parts of the API in order of usefulness to me, which at present looks like this:
- Database (✓)
- User Collection (✓)
- User Wantlist
- List
- Inventory Export
- Inventory Upload
- User Identity
- Marketplace
- OAuth
There is a GraphQL API (Discogs API v3) on the horizon that should make some things a lot easiser but I have no idea when it will be available.
The Discogs API requires authentication for some requests. Using authentication will also increase the number of requests you can make per minute. See the Discogs documentation for more information.
I took some inspiration from Scott McAllister's go-discogs project, particularly for testing the API client with a mock server.
See the example program in cmd/main.go
. I will expand on this soon.