Hey all:
We've made a minor update to our Playlist API. Now when you request a foreign id bucket in a playlist call, the artist foreign ids will be returned in addition to the song/track foreign IDs. For example if you make a call like:
http://developer.echonest.com/api/v4/playlist/static?api_key=YOUR_API_KEY&artist=Weezer&format=json&results=1&type=artist&bucket=id:rdio-US&bucket=tracks&limit=true
The returned song block will look like:
"songs": [
{
"title": "Rainbow Connection (feat. Hayley Williams)",
"artist_name": "Weezer",
"artist_foreign_ids": [
{
"catalog": "rdio-US",
"foreign_id": "rdio-US:artist:r139688"
}
],
"tracks": [
{
"foreign_release_id": "rdio-US:release:a937189",
"catalog": "rdio-US",
"foreign_id": "rdio-US:track:t10934395",
"id": "TRTUXCJ136B49B20EF"
}
],
"artist_id": "AR633SY1187B9AC3B9",
"id": "SOSVPWC1338A5D27C3"
}
]