The next generation Spotify Web API wrapper for Python
Documentation
•
Releases
•
Community
Quick example
import asyncio
from spotipy2 import Spotify
from spotipy2.auth import ClientCredentialsFlow
async def get_track_name(track_id):
client = Spotify(
ClientCredentialsFlow(
client_id="client_id",
client_secret="client_secret"
)
)
async with client as s:
track = await s.get_track(track_id)
print(f"The name of the track is {track.name}")
asyncio.run(get_track_name(input("Insert the track ID: ")))
Key Features
- Easy - Makes the Spotify API easy to understand and intuitive, without giving less customization.
- Fast - Thanks to its async design and
aiohttpspeed, spotipy2 is incredibly fast - Type-hinted - All the methods and types are type-hinted, enabling excellent IDE support
- Documented - API methods, types and interfaces are all well documented
Installing
pip install spotipy2
Resources
- Check out the docs at https://spotipy2.org to learn about Spotipy2.
- For any issue, open one here or contact me privately via Telegram.
- If you have anything else to ask, feel free to open a discussion
Metadata
Release files for spotipy2 0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spotipy2-0.6.tar.gz | 11.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spotipy2-0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.3 kB
Release files / spotipy2-0.6.tar.gz
| Download URL | spotipy2-0.6.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e47f614607733aa0f51ef2836f4a6da0293b39c2d8b8554f447f68f2ed44f7c8
|
|
BLAKE2b-256 checksum How to use checksums |
5588b83177713d4e77c3820f91742b9f2550dbed445b21a4cd981c80cc1466bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.13
|
Release files / spotipy2-0.6-py3-none-any.whl
| Download URL | spotipy2-0.6-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
026a9d941ac8eca5da6c48e59ca483fcaf10c3d8a55f2263f8daa795bbec38ae
|
|
BLAKE2b-256 checksum How to use checksums |
ff2626f78980fefe9a33826d05936939fb9b29bb5c25f398bcf1aaba2b1429f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.13
|