As pointed out by MacStories, Apple has today announced a new Apple Music API via its Affiliate Program Newsletter, that allows iOS apps to directly control Apple Music playback and more. The source notes that today’s announcement coincides with the introduction of a new Apple Music Best Practices for Apple Developers page dedicated to developer and affiliate program resources related to Apple Music.
We encourage affiliates to use the Apple Music API to provide a superior user experience by integrating music into their apps.
With the Apple Music API you can:
- See if a user is currently an Apple Music member
- See which country the user’s account is based in
- Queue up the next song or songs based on a song ID for playback
- Inspect playlists already in My Music or create a new playlist with a title and description (see App Store Review Guidelines for limitations).
Apple’s new page for Apple Music affiliate program resources also highlights some new App Review guidelines applicable to the Apple Music API. It also offers direct links to developer documentation for the Apple Music APIs, as well as a summary of Apple Music identity guidelines regarding the use of the Apple Music name, logos, and related matters.
To learn more, hit up this link.