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

Select the playlists you want people to be able to pay for, share the frontend page, profit :)

Made by, benarc. Inspired by, pirosb3.
POST
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 201 OK
Curl example
curl -X GET {{ request.url_root }}/jukebox/api/v1/jukebox/items -H "Content-Type: application/json" -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" -d '{"name": <string>, "description": <string>, "image": <data-uri string>, "price": <integer>, "unit": <"sat" or "USD">}'
GET
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 200 OK (application/json)
{"id": <integer>, "wallet": <string>, "wordlist": <string>, "items": [{"id": <integer>, "name": <string>, "description": <string>, "image": <string>, "enabled": <boolean>, "price": <integer>, "unit": <string>, "lnurl": <string>}, ...]}<
Curl example
curl -X GET {{ request.url_root }}/jukebox/api/v1/jukebox -H "X-Api-Key: {{ g.user.wallets[0].inkey }}"
PUT
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 200 OK
Curl example
curl -X GET {{ request.url_root }}/jukebox/api/v1/jukebox/items/<item_id> -H "Content-Type: application/json" -H "X-Api-Key: {{ g.user.wallets[0].inkey }}" -d '{"name": <string>, "description": <string>, "image": <data-uri string>, "price": <integer>, "unit": <"sat" or "USD">}'
DELETE
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 200 OK
Curl example
curl -X GET {{ request.url_root }}/jukebox/api/v1/jukebox/items/<item_id> -H "X-Api-Key: {{ g.user.wallets[0].inkey }}"