GET
+ /jukebox/api/v1/jukebox
+ {"X-Api-Key": <admin_key>}[<jukebox_object>, ...]
+ curl -X GET {{ request.url_root }}api/v1/jukebox -H "X-Api-Key: {{
+ g.user.wallets[0].adminkey }}"
+
+ GET
+ /jukebox/api/v1/jukebox/<juke_id>
+ {"X-Api-Key": <admin_key>}<jukebox_object>
+ curl -X GET {{ request.url_root }}api/v1/jukebox/<juke_id> -H "X-Api-Key: {{
+ g.user.wallets[0].adminkey }}"
+
+ POST/PUT
+ /jukebox/api/v1/jukebox/
+ {"X-Api-Key": <admin_key>}<jukbox_object>
+ curl -X POST {{ request.url_root }}api/v1/jukebox/ -d
+ '{"user": <string, user_id>,
+ "title": <string>, "wallet":<string>, "sp_user":
+ <string, spotify_user_account>, "sp_secret": <string, spotify_user_secret>, "sp_access_token":
+ <string, not_required>, "sp_refresh_token":
+ <string, not_required>, "sp_device": <string, spotify_user_secret>, "sp_playlists":
+ <string, not_required>, "price":
+ <integer, not_required>}' -H "Content-type:
+ application/json" -H "X-Api-Key: {{g.user.wallets[0].adminkey }}"
+
+ DELETE
+ /jukebox/api/v1/jukebox/<juke_id>
+ {"X-Api-Key": <admin_key>}<jukebox_object>
+ curl -X DELETE {{ request.url_root }}api/v1/jukebox/<juke_id> -H "X-Api-Key: {{
+ g.user.wallets[0].adminkey }}"
+
+
+ To use this extension you need a Spotify client ID and client secret.
+ You get these by creating an app in the Spotify developers dashboard
+ here.
+
+ In the app go to edit-settings, set the redirect URI to this link
+ Currently playing
+Pick a song
+