Skip to content

A spotify playlist generator which generates playlists containing similar songs to a pre-existing playlist

License

Notifications You must be signed in to change notification settings

omkarxpatel/Spotify-Playlist-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Playlist Generator

Current Version

Spotipy's full documentation is online at Spotipy Documentation.

Features:

  1. Play a song via your terminal
  • Enter a song name and it will start playing in your spotify application
  1. Get recommended a song based off of user input
  • Enter 3 songs and it will generate a song based off of your input
  1. 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

image

Screen Shot 2023-01-05 at 12 52 46 PM

Getting started:

Create a user_secrets file

  1. Create a utils folder
  2. Add user_secrets.py to that folder
  3. 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         |
---------------------------------------"""

How to get secrets:

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:

Reporting issues:

If you find any bugs, leave a comment or a pull request

About

A spotify playlist generator which generates playlists containing similar songs to a pre-existing playlist

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages