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.6.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d63db82b94f51b8a2569d633256bab2f6b33ceeb9184ac0b63bb117195d09e |
|
MD5 | fbf8b45b0ae9d9b08f12886a3b351ecb |
|
BLAKE2b-256 | 73803a68e69a38e7e2e94e65cd9c7a67811706e9bc71ec69b13fc213d2370992 |