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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file connect_spotify-1.0.4.tar.gz.

File metadata

  • Download URL: connect_spotify-1.0.4.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for connect_spotify-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ff06fb21ff284ace55e8588dc8f3f53e1c050bed85365c7bbdc1d802060f32d2
MD5 6808da65067e7ec14c6cb22cedbbe374
BLAKE2b-256 51459ca976279093dd430cbd3b7ff93e6d567c9c9ff5daa1be89fe8f9886a416

See more details on using hashes here.

File details

Details for the file connect_spotify-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for connect_spotify-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f9d3cd0af80cb441b2973001dbf4836814101078f92553f35f2019644edec414
MD5 a7e639eadcdacbfebab27120034d06d7
BLAKE2b-256 bfa9b88d58c9021bac47b290920c8e4cf7552ad11ec611ab0440f76a5e3975b9

See more details on using hashes here.

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