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).


pip install spotify_token


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]


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

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
spotify_token-0.1.0-py2.py3-none-any.whl (2.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3
spotify_token-0.1.0.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page