How to find recording by area?

release-country
area
date
recording
musicbrainz
Tags: #<Tag:0x00007fe3d3434270> #<Tag:0x00007fe3d3434130> #<Tag:0x00007fe3d3435300> #<Tag:0x00007fe3d343be58> #<Tag:0x00007fe3d343bcf0>

#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 !!


How to find recording by area?
#3

It is huge request from 3 steps:

  1. find id Israel:
    http://musicbrainz.org/ws/2/area/?query=Israel%20AND%20type:country
    in response id=“03691455-bb46-37e3-91d2-cb064a35ffcc”
  2. 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
  3. 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:):grinning:


#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.