getMarketBoardSaleHistory

expect suspend fun getMarketBoardSaleHistory(worldDcRegion: String, itemIds: List<Int>, entriesToReturn: Int? = null, statsWithin: Int? = null, entriesWithin: Int? = null): History

Returns the history data for the requested list of item IDs and world or data center.

Parameters

worldDcRegion

The world or data center to retrieve data for. This may be an ID or a name. Regions should be specified as Japan, Europe, North-America, Oceania, China, or 中国.

itemIds

List of item IDs to retrieve data for.

entriesToReturn

The number of entries to return. By default, this is set to 1800, but may be set to a maximum of 999999.

statsWithin

The amount of time before now to calculate stats over, in milliseconds. By default, this is 7 days.

entriesWithin

The amount of time before now to take entries within, in seconds. Negative values will be ignored.

Throws

At least one and less than or equal to 100 item IDs are required.

The world/DC or item requested is invalid.

The Universalis API returned an unexpected return code.

actual suspend fun getMarketBoardSaleHistory(worldDcRegion: String, itemIds: List<Int>, entriesToReturn: Int?, statsWithin: Int?, entriesWithin: Int?): History

Returns the history data for the requested list of item IDs and world or data center.

Parameters

worldDcRegion

The world or data center to retrieve data for. This may be an ID or a name. Regions should be specified as Japan, Europe, North-America, Oceania, China, or 中国.

itemIds

List of item IDs to retrieve data for.

entriesToReturn

The number of entries to return. By default, this is set to 1800, but may be set to a maximum of 999999.

statsWithin

The amount of time before now to calculate stats over, in milliseconds. By default, this is 7 days.

entriesWithin

The amount of time before now to take entries within, in seconds. Negative values will be ignored.

Throws

At least one and less than or equal to 100 item IDs are required.

The world/DC or item requested is invalid.

The Universalis API returned an unexpected return code.

actual suspend fun getMarketBoardSaleHistory(worldDcRegion: String, itemIds: List<Int>, entriesToReturn: Int?, statsWithin: Int?, entriesWithin: Int?): History

Returns the history data for the requested array of item IDs and world or data center.

Parameters

worldDcRegion

The world or data center to retrieve data for. This may be an ID or a name. Regions should be specified as Japan, Europe, North-America, Oceania, China, or 中国.

itemIds

Array of item IDs to retrieve data for.

entriesToReturn

The number of entries to return. By default, this is set to 1800, but may be set to a maximum of 999999.

statsWithin

The amount of time before now to calculate stats over, in milliseconds. By default, this is 7 days.

entriesWithin

The amount of time before now to take entries within, in seconds. Negative values will be ignored.

Throws

At least one and less than or equal to 100 item IDs are required.

The world/DC or item requested is invalid.

The Universalis API returned an unexpected return code.