获取我的应用程序数据 iTunes Connect
Posted
技术标签:
【中文标题】获取我的应用程序数据 iTunes Connect【英文标题】:Get my Apps Data iTunes Connect 【发布时间】:2014-08-27 05:54:38 【问题描述】:我正在寻找一个脚本或一系列脚本,用于下载和解析 iTunes Connect 销售数据和 AppStore cmets、评级和排名数据,以用于定义的应用程序。我想在我的网站上获取我的应用程序数据。
【问题讨论】:
【参考方案1】:您可以通过在 php 中发出以下请求来做到这一点
$response = file_get_contents("https://itunes.apple.com/lookup?id=YOUR_APP_ID&entity=software");
例如:
$response = file_get_contents("https://itunes.apple.com/lookup?id=317469184&entity=software");
将给出以下 JSON 输出:
"resultCount":1,
"results": [
"kind":"software", "features":[],
"supportedDevices":["iPad23G", "iPhone5s", "iPad2Wifi", "iPhone5c", "iPadThirdGen", "iPadFourthGen4G", "iPhone4", "iPadMini", "iPadThirdGen4G", "iPadFourthGen", "iPhone5", "iPodTouchFifthGen", "iPadMini4G", "iPhone4S"],
"isGameCenterEnabled":false,
"screenshotUrls":["http://a2.mzstatic.com/us/r30/Purple/v4/25/c1/45/25c145d7-5272-4f41-536f-c5744cd0c61e/screen1136x1136.jpeg", "http://a4.mzstatic.com/us/r30/Purple/v4/61/3c/0c/613c0c2e-1263-c54c-8658-2de8e6a0dd4b/screen1136x1136.jpeg", "http://a5.mzstatic.com/us/r30/Purple/v4/fa/19/ad/fa19ad92-85cc-c4bf-921b-f575a543327c/screen1136x1136.jpeg", "http://a1.mzstatic.com/us/r30/Purple4/v4/3d/5d/97/3d5d9701-f6d9-cc12-7e91-b9ede19e9776/screen1136x1136.jpeg", "http://a2.mzstatic.com/us/r30/Purple6/v4/52/cc/ee/52cceed3-5837-9987-4c10-7cd02bf33b1e/screen1136x1136.jpeg"], "ipadScreenshotUrls":[], "artworkUrl60":"http://a1156.phobos.apple.com/us/r30/Purple2/v4/54/93/ac/5493acfd-1a6e-7960-dda5-7de005232d35/AppIcon57x57.png", "artworkUrl512":"http://a1105.phobos.apple.com/us/r30/Purple4/v4/95/77/8b/95778b7e-8897-3b68-b8f9-134f34531b25/mzl.sobbgbbg.png", "artistViewUrl":"https://itunes.apple.com/us/artist/espn/id317469187?uo=4", "artistId":317469187, "artistName":"ESPN", "price":0.00, "version":"4.0.5",
"description":"Introducing the all-new SportsCenter app, a supercharged update to the popular ScoreCenter app packed with live scores, breaking news, video highlights, in-depth analysis, personalized alerts and more. What more could any sports fan ask for? \n\nFeatures include: \n- Instant scores and updates on the biggest games of the day as well as your favorite teams \n- Breaking news and analysis across hundreds of leagues and teams, all powered by ESPN's authoritative newsroom \n- Dozens of notification options: never miss another kickoff, scoring play, substitution, final whistle or tidbit of breaking news \n- Add, edit and remove favorite teams quickly and easily for a customized experience throughout \n- Deep Twitter integration for a social perspective on news, rumors and gossip", "currency":"USD", "genres":["Sports", "Entertainment"], "genreIds":["6004", "6016"], "releaseDate":"2009-06-02T07:00:00Z", "sellerName":"ESPN Inc.", "bundleId":"com.espn.ScoreCenter", "trackId":317469184, "trackName":"ESPN SportsCenter", "primaryGenreName":"Sports", "primaryGenreId":6004,
"releaseNotes":"- In-game highlights added to game pages during the Live game\n- SportsCenter TV Graphics now inside the app\n- Support for World Cup videos and games\n- Easily share video right from the News Feed\n- Improved performance \n- Enhanced design\n- The latest Breaking News", "minimumOsVersion":"7.0", "formattedPrice":"Free", "wrapperType":"software", "trackCensoredName":"ESPN SportsCenter", "languageCodesISO2A":["NB", "DA", "NL", "EN", "FR", "DE", "IT", "NN", "ES"], "fileSizeBytes":"18953341", "sellerUrl":"http://www.espn.com", "contentAdvisoryRating":"4+", "averageUserRatingForCurrentVersion":3.5, "userRatingCountForCurrentVersion":4317, "artworkUrl100":"http://a1105.phobos.apple.com/us/r30/Purple4/v4/95/77/8b/95778b7e-8897-3b68-b8f9-134f34531b25/mzl.sobbgbbg.png", "trackViewUrl":"https://itunes.apple.com/us/app/espn-sportscenter/id317469184?mt=8&uo=4", "trackContentRating":"4+", "averageUserRating":3.5, "userRatingCount":264216
]
Reference Link
【讨论】:
这是公共数据,我需要私人数据,我想允许用户向我的网站提供他/她的 iTunes 用户名和密码。比我的系统会自动从 itnues 帐户搜索他/她的应用程序并将它们列出他的仪表板。 检查底部提供的参考,还有如何搜索应用程序的信息,它与您需要使用搜索而不是查找相同 感谢您回复 Patel,但我不能使用这个。因为首先我想获取为我提供 iTunes 用户名和密码的用户的应用程序 ID。以上是关于获取我的应用程序数据 iTunes Connect的主要内容,如果未能解决你的问题,请参考以下文章
无法在应用购买中从 iTunes Connect 获取产品标识符?
如何通过 iTunes Connect 获取应用程序报告的崩溃总数