This project was a quick 2 hour speed code I did as a fun challenge for myself. What Artist Recommendations does is given some artists, it will grab each artist's top 3 songs and 3 random songs, and then creates a playlist out of the pulled songs.
Unfortunately the screen recording of the coding session only recorded audio for some reason :,(
Note before running, you might end up with wrong artists if your entry wouldn't come up first in Spotify search results, so using links instead is favorable.
The file accepts 0 to 2 arguments:
- 0 args: uses default values
- 1 args: uses same value for both number of popular songs and random songs
- 2 args: uses first and second value for each value respectively
$ python3 recommend_artists.py
$ python3 recommend_artists.py 3
$ python3 recommend_artists.py 3 5
Once you run it, you will be asked which artists (through link or name) you'd like songs from and then what you'd like to name the playlist. Once it finishes running, you'll have a new playlist.
Below is an example run