I want to build a basic Apple Music automation using the API for my own use but I would like to see if I can get something working before spending $99. Is there a 30 or 60 day trial available?
Post
Replies
Boosts
Views
Activity
I've used JWT before but first time with the Apple Music API. I put together a JWT from jwt.io with the ES256 algorithm and running it through Postman or curl, I get a generic 500 error with "An unexpected error occurred".
Reading back through the documentation, I read, "After you create the token, sign it with your MusicKit private key. Then encrypt the token using the Elliptic Curve Digital Signature Algorithm (ECDSA) with the P-256 curve and the SHA-256 hash algorithm."
I haven't seen much about encrypting the token in any other posts. Do I need to sign the token and then encrypt the whole thing?
Thanks!
I am able to retrieve a playlist via the API by its ID but how do I retrieve it by the playlist’s name/title? I’m hoping to avoid getting all playlists in a library and searching from there.