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.4.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52af8049a49784fc5d0d8ec30109ae359958b9274d7a2a922c38d7e103bf3944 |
|
MD5 | bd44e4495e93c71cdaa6ee6311f24f80 |
|
BLAKE2b-256 | 39f727bccf7252fc509ab5133114f7a44f2eab136735f8ed12353109b48e57a5 |