Skip to content

ASAppleMusic works with Apple Music API to get all the catalog data

License

Notifications You must be signed in to change notification settings

Alexsilvacodes/ASAppleMusic

Repository files navigation

ASAppleMusic 🍎🎵

Version License Platform Build Status

About

ASAppleMusic allows you as developer to get all the Apple Music data from the catalog including: albums, artists, tracks, etc. To know more about that API take a look at the Apple Music API website.

Docs

ASAppleMusic API Docs

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • Xcode 9.0+
  • iOS 11.0+

Installation

ASAppleMusic is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ASAppleMusic'

Usage

To use this class just call the singleton shared and each getter method to get the API object desired. By default the token used will be the Developer token and there's logging enabled, if you want to change both things just change the value of source and debugLevel attributes.

This API is configured as you should know how to generate developer and user tokens, for more info visit the Apple Music API.

You should create your own web server that receives parameters as POST request in the body in JSON format like:

{
   "kid": "C234234AS",
   "tid": "AS234ASF2"
}

and should return the token in JSON format:

{
   "token": "alf9dsahf92fjdsa.fdsaifjds89a4fh"
}

Not Available (WIP)

  • Recents
  • Recommendations
  • Reviews

Android version

AAAppleMusic 🎵

By Aaron Asencio

Author

Alex Silva

License

ASAppleMusic is available under the CC BY-SA 4.0 license. See the LICENSE file for more info.

About

ASAppleMusic works with Apple Music API to get all the catalog data

Resources

License

Stars

Watchers

Forks

Packages

No packages published