Skip to content

getPrices

getPrices(country, gameIds, offset, prices): Promise<PriceResponse>

Gets pricing information for the requested games. Paginates every 50 games.

Parameters

country: string

A two digit country code. (ISO 3166-1 alpha-2 country code)

gameIds: string | string[]

One or more NSUID of the corresponding games.

offset: number= 0

(Optional) The offset to start at

prices: TitleData[]= []

(Optional) An array of TitleData

Returns

Promise<PriceResponse>

A promise containing the pricing information.

Source

lib/other/getPrices.ts:17