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.0.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc6d205d1747e2a41bf7b0a2850a89dfffee5f140f2e5c4fa61bd907b880e66d |
|
MD5 | 91c5a1d04f0a9d78b3c82e01afe2589a |
|
BLAKE2b-256 | e103ace67a50768f4a4e9d03182bb9aab24444706a8bbbbc203277f345434600 |