1

I'm trying to implement online music search and sample streaming features for an iOS app: the user may be able to search music by song name/artist/album and reproduce them. I found Rdio.com looks promising, however, can't figure out a way to solve this.

The streaming api expects a key, such as

[rdio.player playSource:@"t2742133"];

but I'm having difficulties to trace how can I get the key "t2742133" for a given song, as it seems there's no documented method for getting a song metadata based on its name. Anyone experienced with Rdio.com could tell if there's a (relatively) straight forward way to get a song info by its name, and which would be the main steps to take?

Matthieu Brucher
  • 21,634
  • 7
  • 38
  • 62
ssantos
  • 16,001
  • 7
  • 50
  • 70

1 Answers1

0

Couldn't find a direct method for the iOS sdk, but for searching purposes there's a REST api instead.-

http://developer.rdio.com/docs/REST/

The responses include track ids that can be passed to iOS api streaming method.

ssantos
  • 16,001
  • 7
  • 50
  • 70