Socket
Socket
Sign inDemoInstall

spotifywebapi

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    spotifywebapi

A simple Spotify Web API in Python


Maintainers
1

Readme

Spotify Web API in Python

Installation

pip install spotifywebapi

Setup

export SPOTIFY_CLIENT_ID=client_id_here
export SPOTIFY_CLIENT_SECRET=client_secret_here

Client

import spotifywebapi, os

sp = spotifywebapi.Spotify(os.getenv('SPOTIFY_CLIENT_ID'), os.getenv('SPOTIFY_CLIENT_SECRET'))

User

user = sp.getAuthUser(refreshtoken_for_user)

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