Get other application icon image in my Application

感情迁移 提交于 2020-01-01 16:45:10

问题


In my application, I am showing some applications list which are on app store.

I want to get those application's icon image in my application.

I just search but not getting any relevant post on this.

Is there any way to get it? Apple allows to get? Please suggest if there is any way.

Thanks for the help.


回答1:


apple has an JSON Service for that, where you get a lot of meta data for every application

This is the URL for the Facebook App http://itunes.apple.com/lookup?id=284882215

and this a the URL for the Facebook and Twitter App combined: http://itunes.apple.com/lookup?id=284882215,333903271

in the JSON you will find URLs of the app icons in attributes artworkUrl60, artworkUrl512 and artworkUrl100

"artworkUrl100":"http://a1170.phobos.apple.com/us/r30/Purple4/v4/37/7e/9e/377e9e31-388e-8d10-e414-f478a2f18d29/mzl.pacepjmm.png"

unfortunately those app icons are squared and don't have the rounded corners, you will get app icon how the developer uploaded it.

UPDATE: get data for other countries

if you want to get the data for different countries you can just add the country code in between e.g.

  • for Germany: http://itunes.apple.com/de/lookup?id=284882215
  • for France: http://itunes.apple.com/fr/lookup?id=284882215



回答2:


I think there is an tool to generate AppStore Custom RSS Feeds, it returns links and icons, bu i had never worked on it.

iTunes RSS, With the iTunes Store RSS Feed Generator you can create custom RSS feeds to fit your specific needs. Specify feed length, genres, types, and more.



来源:https://stackoverflow.com/questions/19657185/get-other-application-icon-image-in-my-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!