yeseg11
December 21, 2017, 9:21am
1
hello,
I want to find all the songs(recording) from Israel/Germany/USA.
I try to get data from the api and I can’t find a way of finding a recording by area.
I try a few links but I didn’t get what Im locking for .
a links for example:
http://musicbrainz.org/ws/2/recording/?query=country:il
http://musicbrainz.org/ws/2/recording/?query=area:il
how can I get it ?
second question:
I want to find all the songs(recording) from Israel/Germany/USA.
and then I need to catalog them by a year
for example :
all the songs from Germany between the years 1990-1991
thanks !!
algerd
December 21, 2017, 3:14pm
3
It is huge request from 3 steps:
find id Israel:
http://musicbrainz.org/ws/2/area/?query=Israel%20AND%20type:country
in response id=“03691455-bb46-37e3-91d2-cb064a35ffcc”
find artists from Israуl:
http://musicbrainz.org/ws/2/artist?area=03691455-bb46-37e3-91d2-cb064a35ffcc&limit=100&offset=0
one response has only 100 artists (from 1623), because need 16 requst with ofsset 0-17
find recordings for every artist from 1623, for example
http://musicbrainz.org/ws/2/recording?artist=0177d8af-7823-434f-8ba3-9d4f337979fc&limit=100&offset=0
We have 1650 requests. For USA we have 106750 requests:)
yvanzo
January 29, 2018, 6:16pm
5
There is no area field for recordings but there are several ways to associate recordings with areas through their relationships with Place, Release, and Work entities .
2 Likes