Skip to main content

Python wrapper for Spotify Webplayer access token

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for spotify-token, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size spotify_token-0.1.1-py2.py3-none-any.whl (3.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size spotify_token-0.1.1.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page