{"id":28239,"library":"spotizerr-auth-phoenix","title":"Spotizerr Auth Phoenix","description":"A Spotizerr authentication utility for configuring Spotify credentials. Provides helper functions to manage OAuth tokens and refresh flows. Version 0.0.16, updated infrequently.","status":"active","version":"0.0.16","language":"python","source_language":"en","source_url":"https://github.com/spotizerr/spotizerr-auth-phoenix","tags":["spotify","auth","oauth","spotizerr","authentication"],"install":[{"cmd":"pip install spotizerr-auth-phoenix","lang":"bash","label":"PyPI install"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"get_spotify_token","correct":"from spotizerr_auth_phoenix import get_spotify_token"},{"note":"Dotted path is incorrect; use underscores.","wrong":"from spotizerr.auth.phoenix import refresh_spotify_token","symbol":"refresh_spotify_token","correct":"from spotizerr_auth_phoenix import refresh_spotify_token"}],"quickstart":{"code":"import os\nfrom spotizerr_auth_phoenix import get_spotify_token\n\nclient_id = os.environ.get('SPOTIFY_CLIENT_ID', '')\nclient_secret = os.environ.get('SPOTIFY_CLIENT_SECRET', '')\ntoken = get_spotify_token(client_id, client_secret)\nprint(token)","lang":"python","description":"Obtain a Spotify access token using environment variables for credentials."},"warnings":[{"fix":"Use correct import: from spotizerr_auth_phoenix import ...","message":"The library uses underscores in the module name, not dots. Import with from spotizerr_auth_phoenix import ..., not spotizerr.auth.phoenix.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace calls to `authenticate()` with `get_spotify_token(client_id, client_secret)`.","message":"Version 0.0.16 removed the old `authenticate()` function; use `get_spotify_token()` and `refresh_spotify_token()` instead.","severity":"breaking","affected_versions":">=0.0.16"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Install the package: pip install spotizerr-auth-phoenix. Then import with: from spotizerr_auth_phoenix import ...","cause":"Incorrect import path or package not installed in the current environment.","error":"ImportError: No module named 'spotizerr_auth_phoenix'"},{"fix":"Use `get_spotify_token()` or `refresh_spotify_token()` instead.","cause":"The `authenticate` function was removed in version 0.0.16.","error":"AttributeError: module 'spotizerr_auth_phoenix' has no attribute 'authenticate'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}