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.4.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-1.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb2669be81db204f1d9ec5646eaca50dd708be3f899d4fee6966da2b9ab901c1 |
|
MD5 | 8644063650ac146eeffee8d9159a86f5 |
|
BLAKE2b-256 | 1b563b55b770a287682cf6062f37efcc6fc103321ba99cab81cec6c6f5254b8c |