2016-07-27 19:43:07 +02:00
|
|
|
# MusicBrainz API
|
2016-03-06 17:52:33 +01:00
|
|
|
* Regular meta data is available at ```http://musicbrainz.org/ws/2``` and ```http://mb.videolan.org/ws/2```.
|
|
|
|
* Cover art is available at ```http://coverartarchive.org```.
|
2016-03-03 22:21:15 +01:00
|
|
|
|
|
|
|
## Most useful queries
|
|
|
|
* artist by name
|
|
|
|
```
|
|
|
|
/artist/?query=artist:$artist_name&inc=releases
|
|
|
|
```
|
|
|
|
* albums of artist
|
|
|
|
```
|
|
|
|
/artist/$artist_id?inc=releases
|
|
|
|
```
|
|
|
|
* songs of album
|
|
|
|
```
|
|
|
|
/release/$album_id?inc=recordings
|
|
|
|
```
|
|
|
|
* song by name, album and artist
|
|
|
|
```
|
|
|
|
/recording?query="$song_name" AND artist:"$artist_name" AND release:"$release_name"
|
|
|
|
```
|
2016-03-05 16:50:23 +01:00
|
|
|
* album by name
|
|
|
|
```
|
|
|
|
/release?query="$album_name"
|
|
|
|
```
|
2016-03-06 17:52:33 +01:00
|
|
|
* cover art by album ID
|
|
|
|
```
|
|
|
|
/release/$album_id/front-500
|
|
|
|
```
|
2016-03-05 16:50:23 +01:00
|
|
|
* lyrics: TODO
|
|
|
|
|
2016-03-03 22:21:15 +01:00
|
|
|
|
|
|
|
## Misc
|
|
|
|
* enable JSON response: ```&fmt=json```
|
|
|
|
|
|
|
|
## See also
|
|
|
|
* [Web Service](https://wiki.musicbrainz.org/Development/JSON_Web_Service)
|
|
|
|
* [Web Service/Search](https://wiki.musicbrainz.org/Development/XML_Web_Service/Version_2/Search)
|
2016-03-06 17:52:33 +01:00
|
|
|
|
|
|
|
# Other sources for meta data
|
|
|
|
TODO
|