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.3.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a65842ff9b943de9e3fdb1857bc84c9f8aad785a27e9e9b07479eae865240f58 |
|
MD5 | 7ed0cfa14ea4d7dc30c981931b60dacb |
|
BLAKE2b-256 | 9f91592acff6dbe44163a6138e28bbb65428dc5375a8f4aaca48101149696fed |