2016-08-25 3 views
0

Возможно ли получить информацию о приложении (или подписке) (по крайней мере, цену, валюту) для приложения iOS на bundle id или product id с сервера?Как получить информацию о приложении или подписке со стороны сервера?

Я знаю, что клиенты iOS могут сделать это, используя свой SDK.

Возможно, существует сервис, такой как iTunes Lookup API?

+0

Другие, чем 'SKProductsRequest'? –

+0

@BenFlynn, да. Я планирую сделать это на стороне сервера через php. – Stafox

ответ

0

Я думаю, что ответ нет, они намереваются вам принести ИПД из приложения. Ниже приведен пример того, что возвращается из API поиска партнерских программ iTunes. AFAIK нет другого API для запроса информации о приложении. Они не упоминают другие способы в их guide to obtaining IAP information.

http://itunes.apple.com/lookup?id=828578246 

{ 
    "resultCount": 1, 
    "results": [ 
    { 
     "isGameCenterEnabled": true, 
     "screenshotUrls": [ 
     "http://a2.mzstatic.com/us/r30/Purple49/v4/67/01/ff/6701ff5c-55d3-0ea6-d868-8d803072483b/screen696x696.jpeg", 
     "http://a2.mzstatic.com/us/r30/Purple69/v4/7c/14/5f/7c145fc0-d7af-cfce-eede-f35ad50a779e/screen696x696.jpeg", 
     "http://a3.mzstatic.com/us/r30/Purple69/v4/cc/0a/43/cc0a4393-a006-f485-a4b5-59049b16da18/screen696x696.jpeg", 
     "http://a5.mzstatic.com/us/r30/Purple69/v4/e1/76/23/e1762373-849f-9935-7880-34b62365db8c/screen696x696.jpeg", 
     "http://a5.mzstatic.com/us/r30/Purple69/v4/84/2f/63/842f635e-ccb1-7802-3fc3-020024a8d786/screen696x696.jpeg" 
     ], 
     "ipadScreenshotUrls": [ 
     "http://a2.mzstatic.com/us/r30/Purple69/v4/26/ea/ca/26eacabe-8606-de7e-c49a-aeb961c44a22/sc1024x768.jpeg", 
     "http://a4.mzstatic.com/us/r30/Purple49/v4/11/60/5a/11605ad9-c93a-92d2-2abf-faff83c7e5e4/sc1024x768.jpeg", 
     "http://a4.mzstatic.com/us/r30/Purple69/v4/bb/b5/8e/bbb58e8a-f6fb-7a4d-e6b9-02ad3007d601/sc1024x768.jpeg", 
     "http://a2.mzstatic.com/us/r30/Purple69/v4/82/d5/34/82d53417-01aa-e6eb-f0f6-c57e76dae3d9/sc1024x768.jpeg", 
     "http://a4.mzstatic.com/us/r30/Purple49/v4/04/ad/f4/04adf415-1a40-58b6-6d82-6e47394668e4/sc1024x768.jpeg" 
     ], 
     "appletvScreenshotUrls": [], 
     "artworkUrl60": "https://is4-ssl.mzstatic.com/image/thumb/Purple71/v4/14/68/e7/1468e7e9-9dc8-4493-2738-bba066cd03c4/source/60x60bb.jpg", 
     "artworkUrl512": "https://is4-ssl.mzstatic.com/image/thumb/Purple71/v4/14/68/e7/1468e7e9-9dc8-4493-2738-bba066cd03c4/source/512x512bb.jpg", 
     "artworkUrl100": "https://is4-ssl.mzstatic.com/image/thumb/Purple71/v4/14/68/e7/1468e7e9-9dc8-4493-2738-bba066cd03c4/source/100x100bb.jpg", 
     "artistViewUrl": "https://itunes.apple.com/us/developer/big-fish-games-inc/id292594310?uo=4", 
     "kind": "software", 
     "features": [ 
     "gameCenter", 
     "iosUniversal" 
     ], 
     "supportedDevices": [ 
     "iPhone4", 
     "iPad2Wifi", 
     "iPad23G", 
     "iPhone4S", 
     "iPadThirdGen", 
     "iPadThirdGen4G", 
     "iPhone5", 
     "iPodTouchFifthGen", 
     "iPadFourthGen", 
     "iPadFourthGen4G", 
     "iPadMini", 
     "iPadMini4G", 
     "iPhone5c", 
     "iPhone5s", 
     "iPhone6", 
     "iPhone6Plus", 
     "iPodTouchSixthGen" 
     ], 
     "advisories": [], 
     "trackCensoredName": "Gummy Drop!", 
     "userRatingCountForCurrentVersion": 325, 
     "sellerUrl": "http://www.bigfishgames.com/mobile-games/ios-games/", 
     "contentAdvisoryRating": "4+", 
     "languageCodesISO2A": [ 
     "NL", 
     "EN", 
     "FR", 
     "DE", 
     "IT", 
     "JA", 
     "KO", 
     "PT", 
     "RU", 
     "ES" 
     ], 
     "fileSizeBytes": "89165452", 
     "averageUserRatingForCurrentVersion": 4.5, 
     "trackViewUrl": "https://itunes.apple.com/us/app/gummy-drop!/id828578246?mt=8&uo=4", 
     "trackContentRating": "4+", 
     "minimumOsVersion": "7.0", 
     "formattedPrice": "Free", 
     "currency": "USD", 
     "wrapperType": "software", 
     "version": "2.14.0", 
     "artistId": 292594310, 
     "artistName": "Big Fish Games, Inc", 
     "genres": [ 
     "Games", 
     "Arcade", 
     "Puzzle", 
     "Entertainment" 
     ], 
     "price": 0, 
     "description": "Stop crushing & start squishing! Match your way around this candy world! LET’S GO GUMMY! ®\n\nTravel WHEREVER and WHENEVER you want! From Sydney to Tokyo, San Francisco, New York City, Paris, London, Rome, Berlin, New Orleans, Barcelona, Shanghai, Los Angeles, Seoul, Havana, Rio de Janeiro, St. Petersburg, Mexico City, Cape Town, Budapest, Tahiti, Cairo, Marrakesh, Dubai, Bangkok, Athens, Amsterdam, Hawaii, Hong Kong, Singapore, New Delhi, Venice and more coming soon!\n\nFEATURES\n• Play over 10,000 gummified levels across dozens of world cities – MORE levels than any other Match-3 game!\n• Travel to any city, anytime! Earn travel vouchers to unlock the city of your choice.\n• Exciting Achievements! See your accomplishments in your Passport.\n• Unique boosts! Including Shuffle, Lightning, Shovel, and more!\n• Huge rewards! Score in-game items just for playing.\n• Daily Events! Collect sweet bursts of resources and rewards.\n\nREVIEWS\nBetter than Candy Crush (5 STARS)\nLove the way the game travels around the world.\n\nFinally a Straight Up Game Experience (5 STARS)\nThis is an amazing game that is what it says - FREE. You can keep playing a challenging de-stressor without any bait and switch. Love It!!!!!!!!\n\nFun game (5 STARS)\nThis game starts easily and increases in difficulty as you get better. Fun to watch the cities grow as you add details.\n\nCan’t get enough of Gummy Drop! ? Visit our Headquarters, like us on Facebook of follow us on Twitter for sweet musings, matching tips, gummy stories, and tasty giveaways!\n\nGummy Drop! Headquarters: www.bigfishgames.com/gummyHQ \nFacebook: Search Gummy Drop \nTwitter: @GummyDrop \n \n*Note for updates - having trouble seeing your progress after an update? Try connecting with Facebook again and that should do the trick!*", 
     "trackName": "Gummy Drop!", 
     "trackId": 828578246, 
     "bundleId": "com.bigfishgames.worldsagaaapluniversalF2P", 
     "releaseDate": "2014-09-08T19:29:51Z", 
     "primaryGenreName": "Games", 
     "isVppDeviceBasedLicensingEnabled": true, 
     "currentVersionReleaseDate": "2016-08-23T17:26:54Z", 
     "releaseNotes": "Join us in the newest city, Queenstown!\nPlay over 360 brand new levels of Gummy matching fun today!\n\nOther improvements:\n•Optimizations and bug fixes to improve overall game performance.\n\nThanks for the continued support and feedback, and be sure to keep an eye out for more exciting updates!\n\nExperiencing issues? Please visit http://bigfi.sh/GummyHQ", 
     "sellerName": "Big Fish Games, Inc", 
     "primaryGenreId": 6014, 
     "genreIds": [ 
     "6014", 
     "7003", 
     "7012", 
     "6016" 
     ], 
     "averageUserRating": 4.5, 
     "userRatingCount": 46621 
    } 
    ] 
} 
+0

Спасибо Бен за ваш ответ. Я попытаюсь найти сторонние службы, которые могут это сделать. – Stafox

0

Я нашел стороннюю услугу, которая позволяет это делать. Appfigures. В docs они имеют тип продукта inapp. Служба может вернуть цена и валюта. Похоже, мне нужно.

Но необходимо проверить его на практике.

Если кто-то знает другую службу, которая может это сделать, пожалуйста, поделитесь ими. Благодаря!

Смежные вопросы