How Can I Get Started with the Discogs API for My Music Project? or What Are the Best Practices for U

14 Replies, 1002 Views

Rate limits are no joke with the discogs API—60/min is the hard cap, and they *will* ban you if you go over. I use a simple delay function in my code to space out requests.

For caching, absolutely save responses locally! I store everything in a SQLite db and only hit the API if the data’s stale or missing. Saves a ton of calls.

Docs are messy, but this unofficial guide helped me a lot: [Discogs API Unofficial Cheatsheet](https://example.com). Watch out for the /database/search endpoint—it’s picky with query params.

Built a vinyl tracker app with it. Works great once you get past the quirks!

Messages In This Thread



Users browsing this thread: 1 Guest(s)