TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Itunes API help

1 pointsby needlemeover 12 years ago
Hello,<p>we're working with iTunes API using this gem<p>https://github.com/dewski/itunes<p>And here's the code we're using:<p>search = "#{self.album.artist_name} #{self.track_name}"        puts "Searching for '#{search}'"<p>       itunes = ITunes::Client.new                response = itunes.music(search,:entity =&#62; 'song', :limit =&#62; 1)<p>sometimes it happens that we can't find a player even if the song it's present in iTunes, for example<p>Nosaj Thing - Eclipse / Blue (feat. Kazu Makino)<p>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.

1 comment

gus_massaover 12 years ago
I think that a better place to post this question is stackoverflow. They have an "itunes" and "itunes-sdk" tag. I don't know which is better for this.<p><a href="http://stackoverflow.com/questions/tagged/itunes" rel="nofollow">http://stackoverflow.com/questions/tagged/itunes</a><p><a href="http://stackoverflow.com/questions/tagged/itunes-sdk" rel="nofollow">http://stackoverflow.com/questions/tagged/itunes-sdk</a>
评论 #5164215 未加载