Skip to content
Gianfranco Palumbo edited this page Mar 22, 2014 · 2 revisions

Profile (link)

Get basic information about an artist by name

> echonest = Echonest::Artist.new(api_key, "Radiohead", nil, nil).profile()
=> #<Echonest::Artist:0x007fd23b5f0608 @id="ARH6W4X1187B99274F", @name="Radiohead", @api_key="...">

Get basic information about an artist by Echo Nest id

> Echonest::Artist.new(api_key, nil, nil, "ARH6W4X1187B99274F").profile()
=> #<Echonest::Artist:0x007fd23b1558a0 @id="ARH6W4X1187B99274F", @name="Radiohead", @api_key="...">

Get basic information about an artist by foreign id

> Echonest::Artist.new(api_key, nil, nil, "songkick:artist:253846").profile()
=> #<Echonest::Artist:0x007fd23c103f90 @id="ARH6W4X1187B99274F", @name="Radiohead", @api_key="...">
Clone this wiki locally