{"action":"created","issue":{"url":"https://api.github.com/repos/michiwend/gomusicbrainz/issues/6","labels_url":"https://api.github.com/repos/michiwend/gomusicbrainz/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/michiwend/gomusicbrainz/issues/6/comments","events_url":"https://api.github.com/repos/michiwend/gomusicbrainz/issues/6/events","html_url":"https://github.com/michiwend/gomusicbrainz/issues/6","id":109908618,"number":6,"title":"How do I get artist ID?","user":{"login":"mabushey","id":7863135,"avatar_url":"https://avatars.githubusercontent.com/u/7863135?v=3","gravatar_id":"","url":"https://api.github.com/users/mabushey","html_url":"https://github.com/mabushey","followers_url":"https://api.github.com/users/mabushey/followers","following_url":"https://api.github.com/users/mabushey/following{/other_user}","gists_url":"https://api.github.com/users/mabushey/gists{/gist_id}","starred_url":"https://api.github.com/users/mabushey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mabushey/subscriptions","organizations_url":"https://api.github.com/users/mabushey/orgs","repos_url":"https://api.github.com/users/mabushey/repos","events_url":"https://api.github.com/users/mabushey/events{/privacy}","received_events_url":"https://api.github.com/users/mabushey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-05T23:50:31Z","updated_at":"2015-10-06T22:27:59Z","closed_at":null,"body":"On the musicbrainz web site, searching for the artist `Slave Raider` ( https://musicbrainz.org/search?query=slave+raider&type=artist&method=indexed ), I see the Artist ID is 49950dec-e4c4-4177-808d-bab8ab028665.\r\n\r\nIn search_artist.go, I changed the artist.\r\n\r\nName: Slave Raider             Score: 100\r\n\r\nAll the 100 does is tell me how good of a match `49950dec-e4c4-4177-808d-bab8ab028665` ID is, but it doesn't provide the ID! I fail to even grasp what this purpose of this example is. How do I get the artistID?"},"comment":{"url":"https://api.github.com/repos/michiwend/gomusicbrainz/issues/comments/146020130","html_url":"https://github.com/michiwend/gomusicbrainz/issues/6#issuecomment-146020130","issue_url":"https://api.github.com/repos/michiwend/gomusicbrainz/issues/6","id":146020130,"user":{"login":"michiwend","id":411392,"avatar_url":"https://avatars.githubusercontent.com/u/411392?v=3","gravatar_id":"","url":"https://api.github.com/users/michiwend","html_url":"https://github.com/michiwend","followers_url":"https://api.github.com/users/michiwend/followers","following_url":"https://api.github.com/users/michiwend/following{/other_user}","gists_url":"https://api.github.com/users/michiwend/gists{/gist_id}","starred_url":"https://api.github.com/users/michiwend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michiwend/subscriptions","organizations_url":"https://api.github.com/users/michiwend/orgs","repos_url":"https://api.github.com/users/michiwend/repos","events_url":"https://api.github.com/users/michiwend/events{/privacy}","received_events_url":"https://api.github.com/users/michiwend/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T22:27:59Z","updated_at":"2015-10-06T22:27:59Z","body":"just change artist.Name to artist.ID in the example and you'll see the artist’s mbid instead. The purpose of this example is to show you how you can use gomusicbrainz to do a simple search request."}}