Interface HistoryRequest
- All Superinterfaces:
BlankHistoryRequest
,DataCenterScope<RegionHistoryRequest>
,ItemScope<HistoryRequest>
,LimitedRequest<HistoryRequest>
,RegionHistoryRequest
,RegionScope<RegionHistoryRequest>
,Request<HistoryResponse>
,WorldScope<RegionHistoryRequest>
- All Known Implementing Classes:
HistoryRequestImpl
public interface HistoryRequest
extends Request<HistoryResponse>, RegionHistoryRequest, LimitedRequest<HistoryRequest>
Base implementation for a
HistoryRequestImpl
-
Method Summary
Modifier and TypeMethodDescriptionhistoryTime
(Duration duration) The amount of time before now to take entries within the history data returned byMarketBoardResponse.recentHistory()
.limit
(int limit) Set the limit of retrieved entries for this requestThe amount of time before now to calculate stats over.Methods inherited from interface de.chojo.universalis.rest.routes.api.base.DataCenterScope
dataCenter
Methods inherited from interface de.chojo.universalis.rest.routes.api.base.ItemScope
items, items, itemsIds, itemsIds
Methods inherited from interface de.chojo.universalis.rest.routes.api.base.RegionScope
region
Methods inherited from interface de.chojo.universalis.rest.routes.api.base.WorldScope
world
-
Method Details
-
limit
Set the limit of retrieved entries for this requestDefault: 1800 Max: 999999
- Specified by:
limit
in interfaceLimitedRequest<HistoryRequest>
- Parameters:
limit
- limit- Returns:
- request builder
-
historyTime
The amount of time before now to take entries within the history data returned byMarketBoardResponse.recentHistory()
.- Parameters:
duration
- duration- Returns:
- request
-
statsTime
The amount of time before now to calculate stats over. By default, this is 7 days.- Parameters:
duration
- duration- Returns:
- request
-