r/discogs • • 16d ago

Need help with discogsAPI Usage

Hi. Before I explain what I am into, I want to mention that English is not my first language, also I have adhd and I cant focus while reading the discogs terms and conditions. I tried it, but by the time i finish one section and startother one I forget what happened before that.

So, For the past year or so, I've been developing an app, its an advanced playlist editor that allows you to use your discogs collection to create custom playlists based on keywords and filters. The app will have a music player that plays songs from your collection and a bpm/key/waveform analyser. There are also few other features where you will be able to get an unusual fact related to a release/track etc. but this part is pulled from my own server and not discogs.

I am using discogs Api to retrieve albums from my collection, and then they are added to apps release page where there is an artist name - release name - tracks, year and videos from youtube that are linked to the release page.

The plan is to publish the app on google playstore.

My question is, can i use discogs api comercially for what I just expained? Does anyone have experience and can point me in the right direction.

2 Upvotes

8 comments sorted by

1

u/RightContest562 10d ago

You will want to identify your app/API calls clearly and ensure you are not getting rate limited

2

u/Speedfreakz 10d ago

Yes. I figured.

I made it so its calling it only once, to get the collection, and then keep it in my phone. But then i found its much more to it. That calls need to refreshed every 6 hours, that you cant really keep them in your phone for offline use etc.

I have a system for tng file, but it lacks some of the stuff that api gives.

I ended up writting to discogs support explaining my app and features, in hope that they can clear it out for my usage.

1

u/double-happiness 4d ago

you cant really keep them in your phone for offline use etc.

Why not? You should be able to be able to store your collection as a .csv file, which could surely be converted to an SQL DB or similar, if you need that.

1

u/Speedfreakz 4d ago

Problem is, that this file doesnt include tracklist and release page video, which i need.

Yea i could do a workaround, but this one was already straightforward and simple to execute.

I wrote to their support but its been more than a week, no response.

1

u/double-happiness 4d ago

> this file doesnt include tracklist and release page video, which i need.

You know you can get those from the API, right? cf. https://api.discogs.com/releases/195166

1

u/Speedfreakz 3d ago

Thats the whole issue. I am actually getting it through the api into the collection release page. But if their api is used within the app, you have to constantly be refreshing the api calls with the new ones every 6 hours(its the rule), this will create too many calls and it will hit a limit quickly especially if you own a lot of records.

So far the app uses token to accquire whole owned collection only once and if it was for me I wouldnt call api at all afterwards, but we cant get around that 6hour rule if we want to go public and market the app.

Thats why i was exploring the file download as it has different usage rules compared to api.

Atm I just want to clear out the commercial use with them first, and then the rest. But I hit the wall cause I cant get in contact with the team responsible regarding this.

3

u/No_Worker9340 16d ago

Yes, just make sure to stick to the API rate limits. Your app sounds interesting btw, I've built something similar on abcdj.tech DM open if you wanna chat

2

u/spliket 16d ago

Yes, you can do this. There’s an API documentation page on the Discogs website that will give you the info on how.