Registry / http-networking / spotify-webapi

spotify-webapi

JSON →
library1.0.3pypypiunverified

A lightweight Python library to fetch tracks from Spotify playlists without using the official Spotify Web API. Version 1.0.3 is current; release cadence is irregular. No longer actively maintained (abandoned by author).

pip install spotify-webapi
INSTALL
IMPORT
SIG · SPOTIFY-WEBAPI
S
spotify-webapi
http-networkingpythonv1.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Spotify
from spotify_webapi import Spotify
import spotify_webapi
Import the class directly, not the module.
TrackInfo
from spotify_webapi.models import TrackInfo

Fetch tracks from a playlist by its Spotify ID (alphanumeric string). No authentication required.

from spotify_webapi import Spotify sp = Spotify() playlist_id = '37i9dQZF1DXcBWIGoYBM5M' # example playlist tracks = sp.get_playlist_tracks(playlist_id) for track in tracks: print(track.name, track.artists)
Debug
Known issues
gotchaLibrary only supports fetching tracks from public playlists. Private/unpublished playlists will fail silently or return empty.
fix
Ensure playlist is set to public in Spotify client.
affects: all
deprecatedThe library is no longer maintained. No updates for bug fixes or Spotify API changes. Consider migrating to spotipy.
fix
Use spotipy library with official API and proper authentication.
affects: >=1.0.0
breakingLibrary uses web scraping of Spotify Web Player; Spotify may change frontend structure causing complete failure.
fix
No workaround. Use official API with spotipy instead.
affects: all
Upgrade
Version history
1.0.3latest on PyPI · released Feb 7, 2021
Audit
Dependencies

No dependency data recorded yet.

Agent activity
41 hits · last 30 days
node
38
OpenAI (training)
1
Resources
spotify-webapi — pip install spotify-webapi · libregistry