Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A python wrapper for the Apple Music API

Project description


A python wrapper for the Apple Music API.

See the Apple Music API documentation for additional info.

NOTE: This does not support library resources.

Getting Started


Find full documentation of the project here:


You must have an Apple Developer Account and a MusicKit API Key. See instructions on how to obtain these here: Getting Keys And Creating Tokens.



python install


pip install apple-music-python


import applemusicpy

secret_key = 'x'
key_id = 'y'
team_id = 'z'

am = applemusicpy.AppleMusic(secret_key=secret_key, key_id=key_id, team_id=team_id)
results ='travis scott', types=['albums'], limit=5)
for item in results['results']['albums']['data']:


  • v1.0.0 - Initial Release - 12/15/2018
  • v1.0.1 - Updated package info on PyPI - 12/16/2018
  • v1.0.2 - Added Windows search support - 1/21/2019



This project is licensed under the MIT License - see the LICENSE.txt file for details

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
apple-music-python-1.0.2.tar.gz (6.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page