Ask HN: Itunes API help

1 points by needleme ↗ HN
Hello,

we're working with iTunes API using this gem

https://github.com/dewski/itunes

And here's the code we're using:

search = "#{self.album.artist_name} #{self.track_name}"        puts "Searching for '#{search}'"

       itunes = ITunes::Client.new                response = itunes.music(search,:entity => 'song', :limit => 1)

sometimes it happens that we can't find a player even if the song it's present in iTunes, for example

Nosaj Thing - Eclipse / Blue (feat. Kazu Makino)

doing a search in iTunes from my iPhone for " Nosaj Thing Eclipse/Blue " (no space between the / ) it gives me the right player, using the API it doesn't work.

2 comments

[ 3.5 ms ] story [ 14.4 ms ] thread