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)
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.2.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for spotifywebapi-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 634c7cd253759ae0e9bbb23b0af7e3cf0c04195aa69482aa18e11c39e9c446a2 |
|
MD5 | 270dd64019634bfccae3d8689bfd935f |
|
BLAKE2b-256 | be69dbc0a4c6cc58b263db574973e3f649e7cb86e27d9cc39c4f67c34e73aa6d |