bjarneo / Pytify

A CLI application for controlling Spotify
MIT License
741 stars 40 forks source link

Client Credentials Flow support #56

Closed GijsTimmers closed 7 years ago

GijsTimmers commented 7 years ago

Fixes https://github.com/bjarneo/Pytify/issues/55 and https://github.com/bjarneo/Pytify/issues/54

Support for client credentials flow. Please follow these steps:

  1. Register app: https://developer.spotify.com/my-applications/#!/applications
  2. Edit your ~/.bashrc to export following values:
    export SPOTIPY_CLIENT_ID='your-spotify-client-id'
    export SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'
  3. Run pytify.
bjarneo commented 7 years ago

Nice. Thanks. Will look into this tonight. :)

bjarneo commented 7 years ago

Hit the wrong button. But it works! Thanks for this PR. Now we can probably leverage a lot of other features from spotipy as well!