getMarketBoardSaleHistoryAsync

fun getMarketBoardSaleHistoryAsync(worldDcRegion: String, itemIds: IntArray, entriesToReturn: Int? = null, statsWithin: Int? = null, entriesWithin: Int? = null): Promise<Multi<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

The 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

The Universalis API returned an unexpected return code.

fun getMarketBoardSaleHistoryAsync(worldDcRegion: String, itemIds: List<Int>, entriesToReturn: Int? = null, statsWithin: Int? = null, entriesWithin: Int? = null): CompletableFuture<Multi<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

The 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

The Universalis API returned an unexpected return code.