How to use the Package
Run pip install connect_spotify
from connect_spotify import ConnectionAPI
conn = ApiConnection(
token=SPOTIFY_API_TOKEN
)
conn._connect()
conn.get_artist_name('the strokes')
#returns artist data
Description
Original Repo
This application was created to join Streamlit Hackathon. It data visualizes music artist popularities by bar and line plots. Streamlit connection was used to interact with Spotify API.
How to Run
- Run
pip intall
- Create secrets.toml according to the sample.secrets.toml. You need to get your client secret from Spotify
- Run
streamlit run app.py
Live page
Live Page
Streamlit kindly provides the community cloud server for streamlit app.
Follow the instructions of the link if you want to deploy it on your own.