This is a python script that allows you to populate a json file ingestable by d3 force-directed graph. Data contains your Playlist/Track information from Spotify.
KirboCannon >> git clone https://github.com/kirbocannon/d3-spotify
KirboCannon >> cd d3-spotify
KirboCannon >> virtualenv -p python3 venv
KirboCannon >> source venv/bin/activate
(venv) KirboCannon >> pip install -r requirements.txt
You must create your tokens using the Spotify developer site. Once you have this information, create the yaml file containing the credentials.
username: {spotify_username}
client_id: {spotify_client_id}
client_secret: {spotify_client_secret}
(venv) KirboCannon >> python spotify_script /location/to/all/the/things
6.) Now you can import the postman collection and edit the collection variable to the URL of your data.
Postman collection name: visualization.postman_collection.json