Vsevolod
Vsevolod

Reputation: 141

App Store and iTunes API: Getting icon

I am using request like this:

http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/wa/wsLookup?country=ru&id=

It shows information about the app from the Apple App Store but I have some problems with icons.

If i'm getting property artworkUrl60 it is too small 60x60 image, but it is rounder. And with artworkUrl100 I'm geting 512x512 image that is too big, not rounded and looks ugly when I'm sizing it down to 100x100.

How can I can get nice looking rounded 100x100 image?

Upvotes: 14

Views: 6012

Answers (3)

antsav
antsav

Reputation: 255

https://itunes.apple.com/lookup?id=1036264023

As per documentation in iTunes Search API : https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api/

Upvotes: 4

Nika Mamulashvili
Nika Mamulashvili

Reputation: 351

You must get artworkUrl512 and then replace ".png" or ".jpg" with specific size ".100x100-75.png" or ".100x100-75.jpg"

See also list all available image formats (png / jpg):

  • 42x42-50
  • 53x53-50
  • 60x60-50
  • 72x72-65
  • 75x75-65
  • 29x29-75
  • 53x53-75
  • 58x58-75
  • 64x64-75
  • 84x84-75
  • 100x100-75
  • 114x114-75
  • 128x128-75
  • 150x150-75
  • 170x170-75
  • 175x175-75
  • 200x200-75
  • 256x256-75
  • 340x340-75
  • 350x350-75
  • 512x512-75

Upvotes: 25

Ben
Ben

Reputation: 1

I use JQuery and add the ui-corner-all class to images to make them have rounded corners. This works for any size image.

Upvotes: -1

Related Questions