Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 713
Vsevolod Avatar asked Apr 10 '11 07:04

Vsevolod


2 Answers

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
like image 110
Nika Mamulashvili Avatar answered Oct 17 '22 03:10

Nika Mamulashvili


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/

like image 45
antsav Avatar answered Oct 17 '22 03:10

antsav