Quantcast
Channel: The Echo Nest Developer Forum
Viewing all articles
Browse latest Browse all 1582

Search song: Didn't get deezer's track ID

$
0
0

Hello,

The bucket parameter in our API is multivalued. Your code is clobbering the value of the bucket parameter on your 6th line. The actual value of the bucket parameter should be an NSArray in cases like these. There are some examples how to do this in the library tests, but I think the right way (untested!) is:

    [p setValue:[NSArray arrayWithObjects:@"tracks", @"id:deezer", nil] forKey:@"bucket"];

Viewing all articles
Browse latest Browse all 1582

Trending Articles