mile
mile

Reputation: 422

libspotify API: Any simple way to get artist URI by a given artist name?

To get artist URI by a given artist name, the only way I could think of is to

  1. search artist:$artistname;
  2. compare the input $artistname with the artist name from the search results.
  3. if 2. matches, get the artist URI.

Is there any simpler way to get the artist URI?

Thanks.

Upvotes: 0

Views: 238

Answers (1)

iKenndac
iKenndac

Reputation: 18776

In a word: No. The API doesn't work that way I'm afraid.

Upvotes: 1

Related Questions