dtcrout / spotitude

Yet another Spotify user analytics visualizer
MIT License
19 stars 7 forks source link

feature/playlist-class #14

Closed nicofilliol closed 5 years ago

nicofilliol commented 5 years ago

Playlist class to easily manage user playlists. (Issue #9)

Options include to create new (spotitude) playlists, load existing playlists and edit them (add tracks).

Playlist creation needs to be added to spotitude.py according to wishes. Use following code as an example:

from playlist import Playlist

# Create new Spotitude Playlist
spotitude_playlist = Playlist(spotify)
spotitude_playlist.create_spotitude_playlist(
            args.time_range, top_tracks_df['id'].tolist())
dtcrout commented 5 years ago

@nicofilliol, looks great! Thank you for making this!