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
import spotifywebapi, os
sp = spotifywebapi.Spotify(os.getenv('SPOTIFY_CLIENT_ID'), os.getenv('SPOTIFY_CLIENT_SECRET'))
User
user = sp.getAuthUser(refreshtoken)
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.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73e027eacdb77c1195d8fe4e7224716a4a0464006798e2403e0a8131518700f0 |
|
MD5 | 4c424841bb8ce27f2f35239f7d8e4611 |
|
BLAKE2b-256 | 67d246a663bf84f330498eda3d9f4b233e3acac3a8335eb6a1accc3990f0b84d |