Spotify Web API in Python
Installation
pip install spotifywebapi
Setup
export SPOTIFY_CLIENT_ID=client_id_here
export SPOTIFY_CLIENT_SECRET=client_secret_here
Client
import spotifywebapi, os
sp = spotifywebapi.Spotify(os.getenv('SPOTIFY_CLIENT_ID'), os.getenv('SPOTIFY_CLIENT_SECRET'))
User
user = sp.getAuthUser(refreshtoken_for_user)
Release files for spotifywebapi 1.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spotifywebapi-1.2.8.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spotifywebapi-1.2.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.2 kB
Release files / spotifywebapi-1.2.8.tar.gz
| Download URL | spotifywebapi-1.2.8.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27dd9c674fc866bdae7eb3dbf5e7b95487a5583fe5364fd681c3ac3badd5588e
|
|
BLAKE2b-256 checksum How to use checksums |
3dcde4154c628af22dcb5c895a845f28110a2cae4e6ba4139e9e2b4b1e5be571
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|
Release files / spotifywebapi-1.2.8-py3-none-any.whl
| Download URL | spotifywebapi-1.2.8-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
996e06fed4f0d1275b8b05557f2c44ad0591381f3f943fcb2dbadae29c3cd238
|
|
BLAKE2b-256 checksum How to use checksums |
b3a8c786870adf09dc462be02a93ae3c26356452077c1f669846dd4e0238d7f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|