Skip to main content

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)

Release files for spotifywebapi 1.2.8

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

Source distribution (sdist)

Source distribution for spotifywebapi 1.2.8
File Size Uploaded
spotifywebapi-1.2.8.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spotifywebapi 1.2.8
File Interpreter ABI Platform
spotifywebapi-1.2.8-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / spotifywebapi-1.2.8.tar.gz

Download URL spotifywebapi-1.2.8.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
27dd9c674fc866bdae7eb3dbf5e7b95487a5583fe5364fd681c3ac3badd5588e
BLAKE2b-256 checksum
How to use checksums
3dcde4154c628af22dcb5c895a845f28110a2cae4e6ba4139e9e2b4b1e5be571
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release files / spotifywebapi-1.2.8-py3-none-any.whl

Download URL spotifywebapi-1.2.8-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
996e06fed4f0d1275b8b05557f2c44ad0591381f3f943fcb2dbadae29c3cd238
BLAKE2b-256 checksum
How to use checksums
b3a8c786870adf09dc462be02a93ae3c26356452077c1f669846dd4e0238d7f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

1.2.8 This release

2 release files

1.2.7

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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