Get App Store app reviews
Input
appId requiredThe numeric App Store app id, as it appears in the URL apps.apple.com/<country>/app/<slug>/id<appId> — e.g. 324684580 for Spotify. A leading "id" is accepted and stripped.
country optionalTwo-letter App Store storefront code (us, fr, jp, gb, de...). Reviews, the app name and the ratings-count text are storefront-specific: the same app returns different reviews and a different average per country.
Default: "us"Output
url requiredThe reviews page actually landed on, after Apple's slug redirect.
appId requiredThe app id as requested (echoed for joining).
appName requiredApp name as rendered in this storefront's locale.
country requiredreviews requiredEmpty array is a legitimate outcome for an app whose page renders no reviews.
reviewCount requiredNumber of reviews returned — how many this page rendered, not the app's total review count.
averageRating requiredAverage star rating out of 5. Parsed from the site's own average-rating element; comma decimals (fr) are normalised to a dot.
ratingsCountText requiredThe ratings total exactly as the site renders it, verbatim and locale-specific ("42M Ratings", "4,7 M notes", "評価件数:51万"). Deliberately not parsed to a number: Apple abbreviates and localises this, so any parse would be lossy or wrong.
