Skip to main content

an API wrapper for Spotify

Project description


aiospotipy is an API wrapper for Spotify written in python.

This is based on asyncio and spotipy.


This package can be installed in pip:

pip install aiospotipy

Of course, you can install the package manually after cloning the repository:

git clone
cd aiospotipy
python install

Quick Example

from aiospotipy import Spotify

auth = "xxxxxxxxxxxxxx"
spotify = Spotify(auth=auth)

# Search for an artist by its name
search_results = await spotify.search_artist(q="kalafina")
from aiospotipy import Spotify
from aiospotipy.oauth2 import SpotifyCredentials

spotify = Spotify(SpotifyCredentials("CLIENT_ID", "CLIENT_SECRET"))

# Search for an track by its id
search_results = await'3n3Ppam7vgaVa1iaRUc9Lp', _type='track')

# Show my playlists:
my_playlists = await


This project is licensed under the MIT Licence.

Project details

Download files

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

Files for aiospotipy, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size aiospotipy-0.0.2-py3-none-any.whl (11.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aiospotipy-0.0.2.tar.gz (10.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page