我正在查看 Itunes 提供的搜索 API,但我注意到它将限制设置为 200,这意味着如果要返回的结果超过 200,它只会返回 200。
我想实现的是我想搜索某些关键字并检索与该关键字相关的所有应用程序,这可能吗?非常感谢!
我正在查看 Itunes 提供的搜索 API,但我注意到它将限制设置为 200,这意味着如果要返回的结果超过 200,它只会返回 200。
我想实现的是我想搜索某些关键字并检索与该关键字相关的所有应用程序,这可能吗?非常感谢!
以下是特定搜索请求的完全限定 URL 示例:
• To search for all Jack Johnson audio and video content (movies, podcasts, music, music videos, audiobooks, short films, and tv shows), your URL would look like the following:
https://itunes.apple.com/search?term=jack+johnson
• To search for all Jack Johnson audio and video content and return only the first 25 items, your URL would look like the following:
https://itunes.apple.com/search?term=jack+johnson&limit=25
• To search for only Jack Johnson music videos, your URL would look like the following:
https://itunes.apple.com/search?term=jack+johnson&entity=musicVideo
• To search for all Jim Jones audio and video content and return only the results from the Canada iTunes Store, your URL would look like the following:
https://itunes.apple.com/search?term=jim+jones&country=ca
• To search for applications titled “Yelp” and return only the results from the United States iTunes Store, your URL would look like the following:
https://itunes.apple.com/search?term=yelp&country=us&entity=software
请参考以下 Apple 文档:
在 iOS 应用上搜索所有国家/地区:
https://itunes.apple.com/search?term=yelp&entity=software&limit=200
听起来您要查找的术语是偏移量,您可以将其添加到搜索参数中,以在 x 限制后查看 x 结果。
https://itunes.apple.com/search?term=yelp&entity=software&limit=200&offset=200
例如,上面的搜索将为您提供接下来的 200 个结果(当然,假设您的搜索有更多结果。)
应该适用于搜索端点,但不能根据这篇文章查找端点。