如何使用iTunes Affiliates Search API查找特定艺术家的歌曲标题

Jef*_*688 4 url itunes affiliates ios

我试图在我的iPhone应用程序中使用iTunes Affiliate Search API来搜索iTunes Store中的内容.搜索"我想牵着你的手"的示例网址是:

http://itunes.apple.com/search?term=i+want+to+hold+your+hand&entity=song
Run Code Online (Sandbox Code Playgroud)

此搜索会找到标题为"我想牵着你的手"的所有歌曲.但是,我只想找到披头士乐队的歌曲.我尝试了以下内容来缩小搜索范围,但它不起作用:

http://itunes.apple.com/search?term=i+want+to+hold+your+hand&entity=song&term=beatles&entity=musicartist
Run Code Online (Sandbox Code Playgroud)

这只是提供了相同的结果.

如何使用itunes.apple.com/search构建一个URL以查找特定艺术家的歌曲标题

phi*_*phi 7

如果您在搜索字词中加入"披头士",您会对结果感到满意吗?

http://itunes.apple.com/search?term=the+beatles+i+want+to+hold+your+hand&entity=song
Run Code Online (Sandbox Code Playgroud)

如果没有,似乎你必须对查询结果进行一些后期处理.