Skip to content

getShopsByCountryCodes

getShopsByCountryCodes(countryCodes, gameCode, region): Promise<EShop[]>

Gets all active eShops given a list of countries.

Parameters

countryCodes: string[]

A list of 2 digit country codes for every country eShop to lookup. (ISO 3166-1 alpha-2 country codes)

gameCode: string

A 14 digits game NSUID from the desired region.

region: Region

A region id that will be appended in the final shop object for filtering purposes.

Returns

Promise<EShop[]>

A list of shop objects with country code, name and default currency.

Source

lib/other/getShopByCountryCode.ts:15