Apple introduces Apple Music API for iOS 9.3

Apple has introduced a new Apple Music API (application programming interface) for iOS 9.3. It allows developers to directly control Apple Music playback for Members among other features. With it:

  • Developers can see if a user is currently a member.
  • Developers can see which country the users account is based.
  • Developers can queue up the next song or songs based on a song ID for playback.
  • Developers can inspect playlists already in My Music or create a new playlists with a title and description (see App Store Review Guidelines for limitation).

A note from Apple says “we encourage developers to use the Apple Music API to provide a superior user experience by integrating these features in your app.”