Latest 1.1.7
License CC BY-SA 4.0
Platforms ios 11.0
Dependencies Alamofire, EVReflection/Alamofire

ASAppleMusic 🍎🎵



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.


ASAppleMusic API Docs


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


  • Xcode 9.0+
  • iOS 11.0+


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

pod 'ASAppleMusic'


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


Alex Silva


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

Latest podspec

    "name": "ASAppleMusic",
    "version": "1.1.7",
    "summary": "Apple Music library for developer and user token.",
    "description": "ASAppleMusic is a framework created to help developers to use the Apple Music API with their developer token or the user token that will be requested to the device user",
    "homepage": "",
    "license": {
        "type": "CC BY-SA 4.0",
        "file": "LICENSE"
    "authors": {
        "Alex Silva": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.1.7"
    "social_media_url": "",
    "documentation_url": "",
    "platforms": {
        "ios": "11.0"
    "source_files": "ASAppleMusic/Classes/**/*",
    "ios": {
        "frameworks": "UIKit"
    "dependencies": {
        "Alamofire": [],
        "EVReflection/Alamofire": []

Pin It on Pinterest

Share This