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.8.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-1.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 996e06fed4f0d1275b8b05557f2c44ad0591381f3f943fcb2dbadae29c3cd238 |
|
MD5 | 9d9e2f115aae4f9e1ebb9c335a096698 |
|
BLAKE2b-256 | b3a8c786870adf09dc462be02a93ae3c26356452077c1f669846dd4e0238d7f5 |