{"library":"spotipyio","title":"SpotipyIO","type":"library","description":"An async Python client for the Spotify Web API, supporting authentication, caching, and all major endpoints. Current version 1.1.1, requires Python 3.8–3.12. Released sporadically.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install spotipyio"],"cli":null},"imports":["from spotipyio import SpotifyClient"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/spotipyio/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"import asyncio\nfrom spotipyio import SpotifyClient\n\nasync def main():\n    client = SpotifyClient(\n        client_id=os.environ.get('SPOTIPY_CLIENT_ID', ''),\n        client_secret=os.environ.get('SPOTIPY_CLIENT_SECRET', ''),\n        redirect_uri=os.environ.get('SPOTIPY_REDIRECT_URI', 'http://localhost:8080/callback')\n    )\n    # Example: search for an artist\n    results = await client.search(q='Radiohead', type='artist', limit=1)\n    print(results)\n\nasyncio.run(main())","lang":"python","description":"Initialize a SpotifyClient with credentials and perform a search.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}