Note that there are some explanatory texts on larger screens.

plurals
  1. POretrieving metadata from echonest
    text
    copied!<p>I am new to developer.echonest.com, I am getting some service id from server, I want to fetch the track of that particular id from echonest, and display on screen, the services am using are rdio and spotify. I have following response from server,</p> <pre><code>body = ( { "activity_type" = "track_save"; "created_at" = 1380552261; id = 1810; track = { artist = { "created_at" = "2013-09-30T14:51:34Z"; "echonest_artist_id" = ARGBGCB12CF58F79BE; id = 32; name = "Capital Cities"; "updated_at" = "2013-09-30T14:51:34Z"; }; "created_at" = 1380552261; "echonest_song_id" = SOAHVZF131634A84FA; id = 30; name = "Unknown [service_id =1, service_key='t24842581']"; "track_references" = ( { "created_at" = 1380552261; id = 45; "ref_key" = t24842581; "reference_catalog" = { name = UNKNOWN; "service_id" = 1; }; "service_id" = 1; "track_id" = 30; "updated_at" = 1380552261; } ); "updated_at" = 1380552694; }; "updated_at" = 1380552261; } ); errors = ( ); pagination = { }; </code></pre> <p>This is the sample request am using for echonest to fetch the top songs from echonest,</p> <p><a href="http://developer.echonest.com/api/v4/song/search?api_key=MY_API_KEY&amp;bucket=id%3Ardio-US&amp;bucket=id%3Aspotify-WW&amp;bucket=tracks&amp;format=json&amp;limit=true&amp;results=50&amp;sort=song_hotttnesss-desc" rel="nofollow">http://developer.echonest.com/api/v4/song/search?api_key=MY_API_KEY&amp;bucket=id%3Ardio-US&amp;bucket=id%3Aspotify-WW&amp;bucket=tracks&amp;format=json&amp;limit=true&amp;results=50&amp;sort=song_hotttnesss-desc</a></p> <p>I know the service_id=1 means it is rdio track and its track id is t24842581, so please help to generate the get request to get all details of the track.</p> <p>Thanks a lot in advance. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload