An asynchronous Python 3.10+ Spotify Web API wrapper.
Reason this release was yanked:
Contains debugging file logging, not intended to be included in a release
Project description
aiospotify.py
An asynchronous Python 3.10+ Spotify Web API wrapper.
Documentation: https://aiospotifypy.readthedocs.io/en/latest/ Examples: https://github.com/novanai/aiospotify.py/tree/master/examples
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiospotify_py-1.0.0.tar.gz
(45.2 kB
view hashes)
Built Distribution
Close
Hashes for aiospotify_py-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e42de78dc58d2ccd0be2f39093ab978e623159d3234ec674f1d85e616f15c62 |
|
MD5 | e1d1dbc18af0ee89d318dfb84f0e5171 |
|
BLAKE2b-256 | e9f0d26070cf2b9125dd9edc30ab76397a8b279b4ef188439dcb48e2e823369f |