Eduardo José Tomé de Macedo
Eduardo José Tomé de Macedo
Due to pagination, some methods need to make multiple requests to the spotify API in order to get all the songs from big playlists. This is currently made synchronously so...
This project doesn't have much functionality yet, but the little it has is spreaded into the interfacespfy.py, diversify.py, and genetic.py files in the `if __name__ == "__main__":` methods. Currently they...
The `get_user_playlists()` method from the [spotify interface](https://github.com/edujtm/diversify/blob/master/interfacespfy.py) return a list of playlists data. Each playlist item has a list of its song data. The flat feature is meant to flatten...
Currently the get_user_playlists() method has a features parameter that is meant to get [audio features](https://developer.spotify.com/documentation/web-api/reference/tracks/get-several-audio-features/) instead of its meta data. The user of the API probably will not expect this...
A lot of the methods on the [spotify interface](https://github.com/edujtm/diversify/blob/master/interfacespfy.py) have session object (named `spfy`) from the spotipy module as a dependency. This could be removed from the API by making...