{"id":21599,"library":"musicbrainzngs","title":"MusicBrainz NG Client","description":"Python bindings for the MusicBrainz XML Web Service and Cover Art Archive. Current version 0.7.1, stable but infrequent updates; supports Python 2.7 and 3.4+.","status":"active","version":"0.7.1","language":"python","source_language":"en","source_url":"https://github.com/alastair/python-musicbrainzngs","tags":["musicbrainz","music","api-client","cover-art"],"install":[{"cmd":"pip install musicbrainzngs","lang":"bash","label":"Default install"}],"dependencies":[],"imports":[{"note":"No submodules; top-level functions are accessed via musicbrainzngs.*","symbol":"musicbrainzngs","correct":"import musicbrainzngs"}],"quickstart":{"code":"import musicbrainzngs\n\nmusicbrainzngs.set_useragent(\"MyApp\", \"1.0\", \"me@example.com\")\nresult = musicbrainzngs.search_artists(artist=\"Nirvana\")\nprint(result['artist-list'][0]['name'])","lang":"python","description":"Set user agent (required by MusicBrainz) and search for an artist."},"warnings":[{"fix":"Always call musicbrainzngs.set_useragent(app, version, contact) at the start.","message":"User-Agent must be set before any request. Calls without it raise musicbrainzngs.ResponseError.","severity":"breaking","affected_versions":"all"},{"fix":"Remove calls to set_rate_limit().","message":"musicbrainzngs.set_rate_limit() is deprecated; rate limiting is now handled server-side.","severity":"deprecated","affected_versions":">=0.7"},{"fix":"Pass limit=100, offset=0 to get more results and loop until empty.","message":"Search results are paginated. The default limit is 25 items; use limit and offset parameters.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Wait and retry with exponential backoff.","cause":"MusicBrainz server is temporarily unavailable or rate-limited.","error":"musicbrainzngs.ResponseError: status: 503"},{"fix":"Call musicbrainzngs.auth(username, password) before accessing user-specific data.","cause":"Invalid or missing OAuth credentials for authenticated endpoints.","error":"musicbrainzngs.musicbrainz.ResponseError: status: 401"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}