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.2.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6ada0f48b5864237750a5d784f13442ebbcdf664c99c06496144ff3e8c5374a |
|
MD5 | 9397f536bd9be32d5e9efcf2b20f093a |
|
BLAKE2b-256 | b9e854b5bbcbb2ccf557352acfba7149466c049a119e5ac50f71320833a85fa0 |