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.1.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 274d0ed5c78335b0be21cc0b7bb02bd4f612f5e3f64e1f713c6e249a48e6592e |
|
MD5 | b46b0ec476891fd087a978e9d2c2e174 |
|
BLAKE2b-256 | 06b003201af099dd70769384c3380292ecb7e8146e76f87ea6d2f8885e66a965 |