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.1.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbb82d139c78128bd4218f8c5245d153e87bda5abe44a7bad4c76a7a57d893e0 |
|
MD5 | 6a7d8e8c3bff45929b1b823d394e414d |
|
BLAKE2b-256 | a9866c67524c82b8e87d7949e267b898e4b358163e135bf116b92410bcaa517d |