xml 如何从 Apple iTunes?App Store 获取信息?和?Mac App Store?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5604886/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-06 14:38:49  来源:igfitidea点击:

How to get info from the Apple iTunes ?App Store? and ?Mac App Store?

xmlapiapp-storeitunes

提问by albuvee

I'm searching a solution to get all the information/retrieve all data from the iTunes ?App Store? and ?Mac App Store? from Apple to a given App-ID …?Is there a way to read out all the infos like App-Description, Price, Icon, Developer, Ratings etc. from the Stores?

我正在寻找一种解决方案以从 iTunes 中获取所有信息/检索所有数据?App Store?和?Mac App Store?从 Apple 到给定的 App-ID ...?有没有办法从商店中读出所有信息,如 App-Description、Price、Icon、Developer、Ratings 等?

回答by ChaosCoder

Try using the iTunes Search APIwhich will give you a nice JSON object representing the app. The lookup sectionis the one you are looking for:
https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api

尝试使用iTunes Search API,它会给你一个很好的 JSON 对象来表示应用程序。在查找部分是你正在寻找一个:
https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api

Example query for the Stack Overflow App: https://itunes.apple.com/lookup?id=1155618808

Stack Overflow 应用程序的示例查询:https: //itunes.apple.com/lookup? id =1155618808

回答by phponwebsites

You can get all details from apple itunes using this url: https://itunes.apple.com/search?term=xxx&country=us&entity=software

您可以使用以下网址从 Apple iTunes 获取所有详细信息:https://itunes.apple.com/search?term =xxx&country =us&entity =software

Where you can get json object as result. So you can get all details of every app in apple itunes by decode the json object.

您可以在哪里获得 json 对象作为结果。所以你可以通过解码json对象来获取苹果iTunes中每个应用程序的所有详细信息。

I think thisurl will help you.

我认为这个网址会帮助你。

回答by Marc Rochkind

To clarify what seems to be the state of affairs as of 23-May-2011:

澄清截至 2011 年 5 月 23 日的情况:

  1. Lookup by id, as in ChaosCoder's example, seems to work for the Mac App Store.

  2. Searching does not work.

  1. 在 ChaosCoder 的例子中,通过 id 查找似乎适用于 Mac App Store。

  2. 搜索不起作用。

回答by Vincent

The type 'app' does not exist. Use 'Software'.

“应用程序”类型不存在。使用“软件”。