Skip to content

alastair/python-musicbrainzngs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7432f88 · Jan 16, 2022
Jan 16, 2022
Sep 14, 2021
Sep 14, 2021
Jan 16, 2022
Jan 16, 2022
Feb 21, 2016
Jan 11, 2020
Jun 2, 2015
Jun 7, 2013
Feb 10, 2014
Jan 5, 2016
Jul 11, 2018
Jan 11, 2020
Jan 16, 2022

Repository files navigation

Musicbrainz NGS bindings

This library implements webservice bindings for the Musicbrainz NGS site, also known as /ws/2 and the Cover Art Archive.

For more information on the musicbrainz webservice see http://wiki.musicbrainz.org/XML_Web_Service.

Usage

# Import the module
import musicbrainzngs

# If you plan to submit data, authenticate
musicbrainzngs.auth("user", "password")

# Tell musicbrainz what your app is, and how to contact you
# (this step is required, as per the webservice access rules
# at http://wiki.musicbrainz.org/XML_Web_Service/Rate_Limiting )
musicbrainzngs.set_useragent("Example music app", "0.1", "http://example.com/music")

# If you are connecting to a different server
musicbrainzngs.set_hostname("beta.musicbrainz.org")

See the query.py file for more examples.

More documentation is available at Read the Docs.

Contribute

If you want to contribute to this repository, please read the contribution guidelines first.

Authors

These bindings were written by Alastair Porter. Contributions have been made by:

License

This library is released under the simplified BSD license except for the file musicbrainzngs/compat.py which is licensed under the ISC license. See COPYING for details.