entriphy / sp-playcount-librespot

Modification of librespot-java to provide play count info from Spotify
Apache License 2.0
119 stars 16 forks source link

How does this work - and api limitations #20

Open jeleffto opened 2 years ago

jeleffto commented 2 years ago

Hello,

On one of the previous versions of this project, someone requested a description showing how this project works. I don't think you ever posted one, but I would be very interested in learning more about it as well.

Also, what are the approximate limits of the API (both the version you host, and one we host ourselves)? If I wanted to call it thousand times per day, is that possible? What are the constraints? If hosted ourselves, don't we have to use our own Spotify account(s) and if that is the case, are there limits to how many api calls one can make?

Thanks!

marclind commented 1 year ago

Second this!

zaosoula commented 1 year ago

This lib emulate native Spotify client and connect to their api using the Mercury protocol, it's a fork of https://github.com/librespot-org/librespot-java

You will have to use your own credentials to run the lib on your devices I have no idea for the limits but as it emulate a native client it should be pretty high, nevertheless I suggest that your script acts as a human to prevent detection