1

In my angular app, after making a jsonp request to the search API, specifying that I want 25 results in the response object, I'm getting a lot of tracks with duplicate artistId and hence artistName. I want to keep the first object in the array, and delete the following repeated objects with the same artistID attributes. Can I tell the API to return only unique values of artistID? I've seen this question but the accepted answer seems dated.

Community
  • 1
  • 1
Rockstar5645
  • 4,376
  • 8
  • 37
  • 62

0 Answers0