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.3.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-1.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 446048d068ccc8251909a673f24ca709f9dcafaea52a853b6eb55d6b17d03790 |
|
MD5 | 21d7a8bbf581f3bbe2b0a87beae586ee |
|
BLAKE2b-256 | 73365db524860114db26cc274afe9a50f6f4d696085707383bb1d1f8bd25e017 |