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.1
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.1.tar.gz | 11.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spotipy2-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.5 kB
Release files / spotipy2-0.6.1.tar.gz
| Download URL | spotipy2-0.6.1.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0ed8801285855973a7ff31c2684e5f8546560010e5a696bf498da05f55f5030
|
|
BLAKE2b-256 checksum How to use checksums |
9919676a8067ce50563b86b91f5f65d4c6fb60e1b13713353ff11613cc682363
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.15
|
Release files / spotipy2-0.6.1-py3-none-any.whl
| Download URL | spotipy2-0.6.1-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54a56d2c69571cac5ebdf7650604ce3be39eb794017a9936dfad918bdc94d36d
|
|
BLAKE2b-256 checksum How to use checksums |
447cd1d3d4944104c69b6022c521df8496b8497022df7c41c4a29efbded23872
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.15
|