A simple Spotify Web API in Python
Project description
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)
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
spotifywebapi-1.2.7.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-1.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ca3974b21b9fa1340c963616619e25e3504ed106b7d009b9c366c864baa012 |
|
MD5 | d0af2c1c78e47b5067398a191580c0b4 |
|
BLAKE2b-256 | d2051e14002fcb07ab5e016a7b239f49e1587fb6e500f64346d6511cbe1e19db |