{"id":28214,"library":"spotify-webapi","title":"spotify-webapi","description":"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).","status":"abandoned","version":"1.0.3","language":"python","source_language":"en","source_url":"https://github.com/ruru4143/spotify-webapi","tags":["spotify","playlist","web-scraping","unofficial","abandoned"],"install":[{"cmd":"pip install spotify-webapi","lang":"bash","label":"pip"}],"dependencies":[],"imports":[{"note":"Import the class directly, not the module.","wrong":"import spotify_webapi","symbol":"Spotify","correct":"from spotify_webapi import Spotify"},{"note":"","wrong":"","symbol":"TrackInfo","correct":"from spotify_webapi.models import TrackInfo"}],"quickstart":{"code":"from spotify_webapi import Spotify\n\nsp = Spotify()\nplaylist_id = '37i9dQZF1DXcBWIGoYBM5M'  # example playlist\ntracks = sp.get_playlist_tracks(playlist_id)\nfor track in tracks:\n    print(track.name, track.artists)","lang":"python","description":"Fetch tracks from a playlist by its Spotify ID (alphanumeric string). No authentication required."},"warnings":[{"fix":"Ensure playlist is set to public in Spotify client.","message":"Library only supports fetching tracks from public playlists. Private/unpublished playlists will fail silently or return empty.","severity":"gotcha","affected_versions":"all"},{"fix":"Use spotipy library with official API and proper authentication.","message":"The library is no longer maintained. No updates for bug fixes or Spotify API changes. Consider migrating to spotipy.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"No workaround. Use official API with spotipy instead.","message":"Library uses web scraping of Spotify Web Player; Spotify may change frontend structure causing complete failure.","severity":"breaking","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.0.3':22 'abandon':33,42 'activ':31 'api':20 'author':35 'cadenc':26 'current':24 'fetch':9 'irregular':28 'librari':7 'lightweight':5 'longer':30 'maintain':32 'offici':17 'playlist':13,37 'python':6 'releas':25 'scrape':40 'spotifi':2,12,18,36 'spotify-webapi':1 'track':10 'unoffici':41 'use':15 'version':21 'web':19,39 'web-scrap':38 'webapi':3 'without':14","created_at":"2026-05-09T05:54:19.981513+00:00","updated_at":"2026-05-09T05:54:19.981513+00:00","problems":{"verify_error":"/tmp/tmpopebnrv8/venv/lib/python3.12/site-packages/spotify_webapi/__init__.py:7: SyntaxWarning: invalid escape sequence '\\.'\n  SP_URL_REGEX = re.compile('https://open\\.spotify\\.com/(?P<type>[^/]*)/(?P<id>[^?]*)')\n/tmp/tmpopebnrv8/venv/lib/python3.12/site-packages/spotify_webapi/__init__.py:9: Syntax"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/ruru4143/spotify-webapi1.0.3","docs":null,"changelog":null,"pypi":"https://pypi.org/project/spotify-webapi/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-networking","communication"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"install_fail","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-09","install_tag":null}}