{"library":"spotrpy","title":"spotr - Terminal Spotify Tool","type":"library","description":"A simple Spotify tool for the terminal that allows searching, playing, and managing Spotify playlists and tracks. Current version 4.1, released with Python >=3.6 support. Maintenance cadence is irregular.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install spotrpy"],"cli":{"name":"spotrpy","version":"sh: 1: spotrpy: not found"}},"imports":["from spotr import Spotr"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/Havard03/spotr","docs":null,"changelog":null,"pypi":"https://pypi.org/project/spotrpy/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from spotr import Spotr\nimport os\n\nsp = Spotr(client_id=os.environ.get('SPOTIFY_CLIENT_ID', ''),\n           client_secret=os.environ.get('SPOTIFY_CLIENT_SECRET', ''),\n           redirect_uri='http://localhost:8888/callback')\n# Then use sp methods like sp.search('song')","lang":"python","description":"Initialize Spotr with credentials from environment variables.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}