$npx skillfedfor your agent

spotifywebapipython

Spotify Web API Python3 Library

Worth itPyPI LibrariesReleased Aug 202688.0K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — spotifywebapipython-1.0.288-py3-none-any.whl
v1.0.288 · released 2026-08-10 · Python >=3.11.0 · 13 runtime deps: lxml, numpy, oauthlib, pillow, platformdirs, PyChromecast, pyotp, requests

Yes. The library is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It covers a comprehensive API surface and handles OAuth complexity internally. Install it if you need to build Spotify integrations in Python; verify that your use case doesn't require endpoints not yet exposed by the wrapper.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11.0 or greater.
  • You must register a Spotify App to obtain a Client ID and Client Secret from the Spotify Developer Portal.
  • Low install friction with a pure-Python wheel distribution.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), allowing use in commercial and private projects with minimal restrictions.

last release 2026-08-10 (4 days) · last repo commit 2026-08-10 · 13 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 88,050 downloads/mo, #13,752 on PyPI

Verify before relying

pip install spotifywebapipython

from spotifywebapipython.spotifyclient import SpotifyClient

client = SpotifyClient(client_id='YOUR_CLIENT_ID', client_secret='YOUR_CLIENT_SECRET')
results = client.search('track:Bohemian Rhapsody artist:Queen')
  • Whether all Spotify Web API endpoints are fully covered or if some remain unimplemented.
  • Performance characteristics when handling large playlists or frequent API calls.
  • Rate-limiting behavior and how the library handles Spotify API throttling.
  • Whether premium account features are clearly documented per endpoint.
Same gist for agents: .md · .json

What it is and what it does

spotifywebapipython is a Python 3 client library for the Spotify Web API that handles OAuth2 authorization flows (Authorization Code, Authorization Code PKCE, Client Credentials) with automatic token storage and renewal. It provides access to Spotify's full API surface—albums, artists, audiobooks, playlists, tracks, user profiles, search, and player control—plus support for Spotify Connect device management and playback control.

The library depends on requests, oauthlib, and requests-oauthlib for HTTP and authentication, plus lxml, pillow, and zeroconf for media handling and device discovery. It includes built-in caching for rarely-changed data like categories and genres, and integrates with smartinspectpython for optional structured logging. A Spotify account and registered app (for Client ID and Secret) are required to use it; some endpoints require a premium account.

Use it for

  • Build a Python application that searches Spotify's catalog and retrieves album, artist, or track metadata.
  • Create a playlist manager that reads, modifies, and creates playlists programmatically on behalf of a user.
  • Control Spotify playback on Connect devices (pause, resume, skip, volume) from a custom Python application.
  • Fetch user profile data, top tracks, and listening history for analytics or personalization.
  • Integrate Spotify recommendations and audio feature analysis into a music discovery or curation tool.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The library is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It covers a comprehensive API surface and handles OAuth complexity internally. Install it if you need to build Spotify integrations in Python; verify that your use case doesn't require endpoints not yet exposed by the wrapper.

Install

spotifywebapipython on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release (4 days old) and an active repository. Requires Python 3.11.0 or greater.

Requires Python 3.11.0 or greater. You must register a Spotify App to obtain a Client ID and Client Secret from the Spotify Developer Portal.

License in practice

Licensed under MIT (permissive), allowing use in commercial and private projects with minimal restrictions.

Quickstart

pip install spotifywebapipython

from spotifywebapipython.spotifyclient import SpotifyClient

client = SpotifyClient(client_id='YOUR_CLIENT_ID', client_secret='YOUR_CLIENT_SECRET')
results = client.search('track:Bohemian Rhapsody artist:Queen')

Verify before relying

  • Whether all Spotify Web API endpoints are fully covered or if some remain unimplemented.
  • Performance characteristics when handling large playlists or frequent API calls.
  • Rate-limiting behavior and how the library handles Spotify API throttling.
  • Whether premium account features are clearly documented per endpoint.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.11.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
13 packages
lxmlnumpyoauthlibpillowplatformdirsPyChromecastpyotprequestsrequests-oauthlibsmartinspectpythonsocourllib3zeroconf
MaintenanceActively maintained 4 days since the last release
Last repo commit
First released
Downloads88,050 / month, #13,752 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: UnixProgramming Language :: Python :: 3Topic :: Multimedia :: Sound/Audio :: PlayersTopic :: Software Development :: Libraries

Evidence: spotifywebapipython-1.0.288-py3-none-any.whl

Tags

Capabilities
spotify api python clientspotify web api wrapperspotify playback control pythonspotify music data retrievalspotify oauth authenticationspotify connect device controlspotify playlist management
Topics
spotify-integrationoauth-clientmusic-api
PyPI keywords
spotifyspotifywebapiapiaudiomusiclibrary

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “spotify playback control python”

  • spotifywebapipythonA Python library that wraps the Spotify Web API, enabling retrieval…
  • pylibrespot-javaProvides a Python interface to communicate with a librespot-java…
  • spotipyFreeProvides a Spotipy-compatible interface to search and retrieve…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also discogs-client · pylibrespot-java · spotipy · ytmusicapi · spotapi · python-mpd2 · spotipyFree · roonapi · shazamio · casttube