Skip to main content

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

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.

musicians popularity plots.

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)

Uploaded Source

Built Distribution

connect_spotify-1.0.4-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page