Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/multithreading/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios iTunes搜索api从结果中获取所有曲目_Ios_Http_Itunes - Fatal编程技术网

Ios iTunes搜索api从结果中获取所有曲目

Ios iTunes搜索api从结果中获取所有曲目,ios,http,itunes,Ios,Http,Itunes,我正在使用iTunesAPI进行一个非常简单的搜索,试图检索某个用户的播客列表,结果只显示1,但曲目列表是25。有没有办法查看所有“曲目”?我可以使用您下面评论中的URL重现以下结果: { "resultCount": 1, "results": [ { "wrapperType": "track", "kind": "podcast", "collectionId": 1157898727, "trackId": 11578987

我正在使用iTunesAPI进行一个非常简单的搜索,试图检索某个用户的播客列表,结果只显示1,但曲目列表是25。有没有办法查看所有“曲目”?

我可以使用您下面评论中的URL重现以下结果:

{
  "resultCount": 1,
  "results": [
    {
      "wrapperType": "track",
      "kind": "podcast",
      "collectionId": 1157898727,
      "trackId": 1157898727,
      "artistName": "Phoenix FM",
      "collectionName": "The West Ham Way on Phoenix FM",
      "trackName": "The West Ham Way on Phoenix FM",
      "collectionCensoredName": "The West Ham Way on Phoenix FM",
      "trackCensoredName": "The West Ham Way on Phoenix FM",
      "collectionViewUrl": "https://itunes.apple.com/us/podcast/the-west-ham-way-on-phoenix-fm/id1157898727?mt=2&uo=4",
      "feedUrl": "http://feeds.feedburner.com/TheWestHamWayOnPhoenixFm",
      "trackViewUrl": "https://itunes.apple.com/us/podcast/the-west-ham-way-on-phoenix-fm/id1157898727?mt=2&uo=4",
      "artworkUrl30": "https://is1-ssl.mzstatic.com/image/thumb/Music42/v4/b1/c0/76/b1c076ed-e555-af3b-3f09-5dfc379da0cb/source/30x30bb.jpg",
      "artworkUrl60": "https://is1-ssl.mzstatic.com/image/thumb/Music42/v4/b1/c0/76/b1c076ed-e555-af3b-3f09-5dfc379da0cb/source/60x60bb.jpg",
      "artworkUrl100": "https://is1-ssl.mzstatic.com/image/thumb/Music42/v4/b1/c0/76/b1c076ed-e555-af3b-3f09-5dfc379da0cb/source/100x100bb.jpg",
      "collectionPrice": 0,
      "trackPrice": 0,
      "trackRentalPrice": 0,
      "collectionHdPrice": 0,
      "trackHdPrice": 0,
      "trackHdRentalPrice": 0,
      "releaseDate": "2019-01-23T22:03:00Z",
      "collectionExplicitness": "cleaned",
      "trackExplicitness": "cleaned",
      "trackCount": 25,
      "country": "USA",
      "currency": "USD",
      "primaryGenreName": "Professional",
      "contentAdvisoryRating": "Clean",
      "artworkUrl600": "https://is1-ssl.mzstatic.com/image/thumb/Music42/v4/b1/c0/76/b1c076ed-e555-af3b-3f09-5dfc379da0cb/source/600x600bb.jpg",
      "genreIds": [
        "1465",
        "26",
        "1316"
      ],
      "genres": [
        "Professional",
        "Podcasts",
        "Sports & Recreation"
      ]
    }
  ]
}
根据,您需要点击结果中的
feedURL
(在本例中为“”),才能访问实际的剧集

也许你能帮你解决这个问题

我希望这有帮助

旧答案 你确定你的搜索URL不是这样的:
https://itunes.apple.com/search?term=firstname+lastname&limit=1

根据,请求URL中不需要limit参数,因此您只需删除查询字符串的“&limit=1”部分:

要搜索所有Jack Johnson音频和视频内容(电影、播客、音乐、音乐视频、有声读物、短片和电视节目),您的URL如下所示:


我的搜索网址是感谢额外的信息@Pulsarman325。我做了更多的研究;请看我编辑的答案。