how to get the total numbers of recordings of an artist by lookup?
Not sure how well versed you are in the way musicbrainz works but you’ll need a unique artist id because many artists can share the same name…
https://musicbrainz.org/doc/MusicBrainz_Identifier
If you had an ID for the band Underworld
, you could perform a recording lookup like this.
To get an ID, it’s best to have nicely tagged files which your app can read them from.
If it’s a web based app or you want to search by artist name, first you’ll need to get an ID for the artist by performing a search and the retrieving the ID from the response…
https://musicbrainz.org/ws/2/artist?fmt=json&query=artist:Underworld
Blindly picking the first response might work in some cases but really you need an interface so you can pick the correct artist - the whole point of IDs is to avoid any ambiguity.
thanks you so much, you made my day.