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


Release history Release notifications

This version
History Node

0.1.0

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 Apr 8, 2018
spotify_token-0.1.0.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None Apr 8, 2018

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