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-0.0.3.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d2b195d53d9c2f87c0193379d2d9ca3c6cdd578230c5a05f5d9f6534e1e51f0 |
|
MD5 | 795f4c6c1b864e0793116e4cabf015d8 |
|
BLAKE2b-256 | 02316f952f0bf10c40c7baff066903ab501e08a75e25ba64dd287d24538cc46b |