Socket
Socket
Sign inDemoInstall

connect-spotify

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    connect-spotify

Connect to Spotify API with Streamlit


Maintainers
1

Readme

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

FAQs


Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc