Connect to Spotify API with Streamlit
Project description
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
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
connect_spotify-1.0.4.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for connect_spotify-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9d3cd0af80cb441b2973001dbf4836814101078f92553f35f2019644edec414 |
|
MD5 | a7e639eadcdacbfebab27120034d06d7 |
|
BLAKE2b-256 | bfa9b88d58c9021bac47b290920c8e4cf7552ad11ec611ab0440f76a5e3975b9 |