Skip to main content

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.

Release files for connect-spotify 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for connect-spotify 1.0.4
File Size Uploaded
connect_spotify-1.0.4.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for connect-spotify 1.0.4
File Interpreter ABI Platform
connect_spotify-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / connect_spotify-1.0.4.tar.gz

Download URL connect_spotify-1.0.4.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ff06fb21ff284ace55e8588dc8f3f53e1c050bed85365c7bbdc1d802060f32d2
BLAKE2b-256 checksum
How to use checksums
51459ca976279093dd430cbd3b7ff93e6d567c9c9ff5daa1be89fe8f9886a416
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / connect_spotify-1.0.4-py3-none-any.whl

Download URL connect_spotify-1.0.4-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9d3cd0af80cb441b2973001dbf4836814101078f92553f35f2019644edec414
BLAKE2b-256 checksum
How to use checksums
bfa9b88d58c9021bac47b290920c8e4cf7552ad11ec611ab0440f76a5e3975b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page