You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

connect-spotify

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-spotify

Connect to Spotify API with Streamlit

1.0.3
Source
pipPyPI
Maintainers
1

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.

Keywords

streamlit

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts