apple-musickit-example
v1.0.3
Published
Very Basic Apple MusicKit example
Maintainers
Readme
Apple MusicKit Example
A very simple example of working with the Apple MusicKit Javascript API. Intended for Development only
Development
git clone https://github.com/KoleMyers/apple-musickit-example.gitthe repositorycd apple-musickit-examplenpm install- put your private key in a
apple_private_key.p8file in the root directory - add your team & key id's in
server.js
const team_id = 'ABCDEFGHIJ'; // your team id
const key_id = 'KLMNOPQRST'; // your key id- run
npm startto start - visit your app at http://localhost:8080/
- Your configured MusicKit instance will be globally exposed in the
musicvariable for you to use
Additional Resources & helpful links
- https://developer.apple.com/documentation/musickitjs
- https://help.apple.com/developer-account/#/devce5522674
- https://github.com/zachomedia/apple-music-webplayer
