# Quering Musicbrainz API to fetch recording data

We are using musicbrainzngs lib to query the API. The API itself provides an exhaustive dataset that, however, 
needs to be fetched via multiple requests. The overall algorithm is approximately like that:
 - find the artist
 - fetch his recording list
 - fetch the data for a particular recording
 - fetch area info via separate requests
 - (if necessary) choose a particular release and fetch release data
 - process and format all we got

Musicbrainz API has somewhat restrictive rules on the request frequency so we're using manual delays in some places.
