Sha256: b07df1f92a048a34d5dc6fb2ebc3f6aca250bd55ec469ea89e7f2986a3ff1369
Contents?: true
Size: 473 Bytes
Versions: 7
Compression:
Stored size: 473 Bytes
Contents
module Songkickr module RemoteApi module ArtistDetails # === Artist API # Undocumented, but it works fine # # Getting detailed information of a single artist. # # === Parameters # * +artist_id+ - Songkick artist_id, use artist_search to get it def artist(artist_id) result = get("/artists/#{artist_id}.json") Songkickr::Artist.new result["resultsPage"]["results"]["artist"] end end end end
Version data entries
7 entries across 7 versions & 1 rubygems