如何使用 iTunes Affiliates Search API 查找特定艺术家的歌曲名称
我正在尝试使用 iTunes我的 iPhone 应用程序中的联属搜索 API 用于在 iTunes Store 中搜索内容。搜索“I Want To Hold Your Hand”的示例 URL 为:
http://itunes.apple.com/search?term=i+want+to+hold+your+hand&entity=song
此搜索查找标题为“I Want To Hold Your Hand”的所有歌曲。但是,我只想找到披头士乐队的歌曲。我尝试了以下方法来缩小搜索范围,但它不起作用:
http://itunes.apple.com/search?term=i+want+to+hold+your+hand&entity=song&term=beatles&entity=musicartist
这仅提供了相同的结果。
如何使用 itunes.apple.com/search 构建 URL 来查找特定艺术家的歌曲标题
I am trying to use the iTunes Affiliate Search API in my iPhone App to search for content within the iTunes Store. An example URL to search for "I Want To Hold Your Hand" is:
http://itunes.apple.com/search?term=i+want+to+hold+your+hand&entity=song
This search finds all songs with the title "I Want To Hold Your Hand". However, I only want to find the songs that are by The Beatles. I tried the following to narrow the search, but it did not work:
http://itunes.apple.com/search?term=i+want+to+hold+your+hand&entity=song&term=beatles&entity=musicartist
This just provides the same result.
How do you construct a URL to find a song title from specific artist using itunes.apple.com/search
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您在搜索词中包含“披头士乐队”,您会对结果感到满意吗?
如果没有,您似乎必须对查询结果进行一些后处理。
Will you be happy with the results if you include "the beatles" into your search term?
If not, it seems you'll have to do some post processing to the results of the query.