{"library":"spotify-sdk","title":"Spotify SDK","type":"library","description":"A Python SDK for the Spotify Web API. Current version is 0.10.0, requiring Python >=3.10. The library is actively maintained with a focus on async/await patterns.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install spotify-sdk"],"cli":null},"imports":["from spotify_sdk import SpotifyClient","from spotify_sdk.auth import ClientCredentialsFlow"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/spotify-sdk/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"import asyncio\nfrom spotify_sdk import SpotifyClient\nfrom spotify_sdk.auth import ClientCredentialsFlow\n\nasync def main():\n    client = SpotifyClient()\n    flow = ClientCredentialsFlow(client_id='your_client_id', client_secret='your_client_secret')\n    token = await flow.fetch_token()\n    client.token = token\n    result = await client.search('Never Gonna Give You Up', types=['track'])\n    print(result)\n\nasyncio.run(main())","lang":"python","description":"Authenticate via client credentials and perform a track search.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}