The next generation Spotify Web API wrapper for Python
Project description
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
aiohttp
speed, 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spotipy2-0.6.tar.gz
(11.6 kB
view details)
Built Distribution
spotipy2-0.6-py3-none-any.whl
(20.7 kB
view details)
File details
Details for the file spotipy2-0.6.tar.gz
.
File metadata
- Download URL: spotipy2-0.6.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e47f614607733aa0f51ef2836f4a6da0293b39c2d8b8554f447f68f2ed44f7c8
|
|
MD5 |
1d39b058953332a7264809fc5534deed
|
|
BLAKE2b-256 |
5588b83177713d4e77c3820f91742b9f2550dbed445b21a4cd981c80cc1466bd
|
File details
Details for the file spotipy2-0.6-py3-none-any.whl
.
File metadata
- Download URL: spotipy2-0.6-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
026a9d941ac8eca5da6c48e59ca483fcaf10c3d8a55f2263f8daa795bbec38ae
|
|
MD5 |
749fbd2c30f5eadc2ce9fc5965621740
|
|
BLAKE2b-256 |
ff2626f78980fefe9a33826d05936939fb9b29bb5c25f398bcf1aaba2b1429f5
|