aiospotify.py
An asynchronous Python 3.10+ Spotify Web API wrapper.
- Documentation: https://aiospotifypy.readthedocs.io/en/stable/
- Examples: https://github.com/novanai/aiospotify.py/tree/master/examples
Installation
pip install -U aiospotify.py
Getting Started
import asyncio
import spotify
async def main():
# Setup an API client
auth = await spotify.ClientCredentialsFlow.build_from_access_token(
"CLIENT_ID",
"CLIENT_SECRET",
)
api = spotify.API(auth)
# Get details about a Spotify artist
artist = await api.get_artist("0e86yPdC41PGRkLp2Q1Bph")
print(artist.name) # "Mother Mother"
asyncio.run(main())
To-Do List
- Add extra methods to Paginator (for fetching all items, lazy iteration etc)
- URI helper class
- Automatically handle 429's (Too Many Requests)
Metadata
Release files for aiospotify.py 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiospotify_py-1.1.0.tar.gz | 45.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiospotify_py-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 90.2 kB
Release files / aiospotify_py-1.1.0.tar.gz
| Download URL | aiospotify_py-1.1.0.tar.gz |
|---|---|
| Size | 45.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64a511ebb2faafcaf87e7c2dcda0effc5dc2828719c089adac0a617765aadb08
|
|
BLAKE2b-256 checksum How to use checksums |
98e96fbb188099ff8232103d094b264d0c1e572f88920b686a4f23a80a190a23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Release files / aiospotify_py-1.1.0-py3-none-any.whl
| Download URL | aiospotify_py-1.1.0-py3-none-any.whl |
|---|---|
| Size | 44.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb5c42ece9ff20b8c41ff403ba8dfe7ea852cc2847f357dcc1334bb77dc09717
|
|
BLAKE2b-256 checksum How to use checksums |
47a6a0caffae190df34e1a06b4b6afb9cf699b7ddb06891b04d7aaed3ff65286
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|