Tinder icon indicating copy to clipboard operation
Tinder copied to clipboard

Spotify endpoints?

Open nleroy917 opened this issue 3 years ago • 2 comments

Is anyone familiar with or able to get the spotify/anthem endpoints? Authentication with v3 works really smoothly now (shoutout jimtje).

nleroy917 avatar Sep 28 '20 18:09 nleroy917

Base endpoint: https://api.gotinder.com

POST /v2/profile/spotify/sync content-type: application/json body: {"redirect_uri": "tinder-spotify://callback", "auth_code": ""} (both required) Auth code from Spotify Oauth (https://accounts.spotify.com/en/authorize?client_id=b06a803d686e4612bdc074e786e94062&response_type=code&redirect_uri=tinder-spotify:%2F%2Fcallback&nosignout=true&state=&client_app_id=com.tinder:609823BAED399D9A97138D636550EBE82014CF2E&scope=playlist-read-private%20playlist-read-collaborative%20streaming%20user-library-read%20user-read-private%20user-top-read), code in location header after you hit okay

DELETE /v2/profile/spotify

DELETE/v2/profile/spotify/theme

POST /v2/profile/spotify/resync (No body)

GET /v2/profile/spotify/popular

GET /v2/profile/spotify/search params: q, type, limit, offset type should be track, all other types are blocked. Otherwise just a proxy for https://api.spotify.com/v1/search

PUT /v2/profile/spotify/theme content-type: application/json body: {"id":""} (spotify id of track)

POST /v2/profile/spotify/artists content-type: application/json body: {"artists":[{"id":"", "selected": true}]} (spotify id of artist)

jimtje avatar Sep 29 '20 10:09 jimtje

Awesome stuff. I was also able to sniff around and see that the returned object from /user/<id>?locale=en' includes all the necessary data like someones top artists and top song.

You are definitely correct that it seems to just be a proxy for Spotify's own api

nleroy917 avatar Sep 29 '20 13:09 nleroy917