Skip to content

KoleMyers/apple-musickit-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.git the repository
  • cd apple-musickit-example
  • npm install
  • put your private key in a apple_private_key.p8 file 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 start to start
  • visit your app at http://localhost:8080/
  • Your configured MusicKit instance will be globally exposed in the music variable for you to use
    Alt Text

Additional Resources & helpful links

About

Very simple example of working with Apple MusicKit JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published