{"library":"spotify-uri","title":"spotify-uri","type":"library","description":"A Python port of @TooTallNate/spotify-uri for parsing and formatting Spotify URIs and URLs. Current version 1.0.3, actively maintained with low release cadence.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install spotify-uri"],"cli":null},"imports":["from spotify_uri import parse","from spotify_uri import SpotifyUri"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/zeroday0619/pyspotify-uri","docs":null,"changelog":null,"pypi":"https://pypi.org/project/spotify-uri/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from spotify_uri import parse\n\nuri = parse('spotify:track:4iV5W9uYEdYUVa79Axb7Rh')\nprint(uri.type)  # track\nprint(uri.id)    # 4iV5W9uYEdYUVa79Axb7Rh\n\nurl = parse('https://open.spotify.com/track/4iV5W9uYEdYUVa79Axb7Rh')\nprint(url.type)  # track\nprint(url.id)    # 4iV5W9uYEdYUVa79Axb7Rh","lang":"python","description":"Parse Spotify URIs and URLs to extract type and ID.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}