Skip to content

Python wrapper for Spotify's Web Player's Access token

License

Notifications You must be signed in to change notification settings

AlexLadd/spotify-webplayer-token

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotify-webplayer-accesstoken

Utility script to get Spotify's web player access token which has more permissions than the normal one that can be obtained through the Spotify API.

This was inspired by kopiro's work on the same thing on Node (link).

Installing

pip install spotify_token

Usage

An access token can be obtained by running the following:

import spotify_token as st

data = st.start_session("myusername","mypassword")
access_token = data[0]
expiration_date = data[1]

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Python wrapper for Spotify's Web Player's Access token

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%