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.1.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e25cb8f10f2e46dbaa45595b5d93cf60a79269fd9aefedd3bbb3d36ebe456c01 |
|
MD5 | ede85ce5b287b3c78a447f64566c119a |
|
BLAKE2b-256 | 5465d8f18a3fc828e03149f492bcf6115d3c96616b7b71dbd0c1a5da0897d80e |