Spotipy's full documentation is online at Spotipy Documentation.
- Play a song via your terminal
- Enter a song name and it will start playing in your spotify application
- Get recommended a song based off of user input
- Enter 3 songs and it will generate a song based off of your input
- Get a generated playlist made off of an existing playlist
- Enter a playlist url and it will generate a brand new playlist with similar songs
- Create a
utils
folder - Add
user_secrets.py to
that folder - Enter the following code into that file
username = "YOUR-USERNAME-ID"
clientID = "YOUR-CLIENT-ID"
clientSecret = "YOUR-CLIENT-SECRET"
redirectURI = "YOUR-REDIRECT-URI"
banner = """Welcome, {}!
---------------------------------------
| 0 | Exit |
| 1 | Play a Song |
| 2 | Get a song recommendation |
| 3 | Generate a new playlist |
---------------------------------------"""
A full set of examples can be found in the online documentation and in the Spotipy examples directory.
To get started, install spotipy and create an app on https://developers.spotify.com/. Add your new ID and SECRET to your environment:
If you find any bugs, leave a comment or a pull request