public class MarketApi extends Object
| Constructor and Description |
|---|
MarketApi() |
MarketApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
List<MarketPricesResponse> |
getMarketsPrices(String datasource,
String userAgent,
String xUserAgent)
List market prices Return a list of prices --- Alternate route:
`/v1/markets/prices/` Alternate route:
`/legacy/markets/prices/` Alternate route:
`/dev/markets/prices/` --- This route is cached for up to 3600
seconds
|
List<MarketHistoryResponse> |
getMarketsRegionIdHistory(Integer regionId,
Integer typeId,
String datasource,
String userAgent,
String xUserAgent)
List historical market statistics in a region Return a list of historical
market statistics for the specified type in a region --- Alternate route:
`/v1/markets/{region_id}/history/` Alternate route:
`/legacy/markets/{region_id}/history/` Alternate route:
`/dev/markets/{region_id}/history/` --- This route is cached
for up to 3600 seconds
|
List<MarketOrdersResponse> |
getMarketsRegionIdOrders(String orderType,
Integer regionId,
String datasource,
Integer page,
Integer typeId,
String userAgent,
String xUserAgent)
List orders in a region Return a list of orders in a region --- Alternate
route: `/v1/markets/{region_id}/orders/` Alternate route:
`/legacy/markets/{region_id}/orders/` Alternate route:
`/dev/markets/{region_id}/orders/` --- This route is cached for
up to 300 seconds
|
List<MarketStructuresResponse> |
getMarketsStructuresStructureId(Long structureId,
String datasource,
Integer page,
String token,
String userAgent,
String xUserAgent)
List orders in a structure Return all orders in a structure --- Alternate
route: `/v1/markets/structures/{structure_id}/` Alternate
route: `/legacy/markets/structures/{structure_id}/` Alternate
route: `/dev/markets/structures/{structure_id}/` --- This route
is cached for up to 300 seconds SSO Scope:
esi-markets.structure_markets.v1
|
void |
setApiClient(ApiClient apiClient) |
public MarketApi()
public MarketApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<MarketPricesResponse> getMarketsPrices(String datasource, String userAgent, String xUserAgent) throws ApiException
datasource - The server name you would like data from (optional, default to
tranquility)userAgent - Client identifier, takes precedence over headers (optional)xUserAgent - Client identifier, takes precedence over User-Agent (optional)ApiException - if fails to make API callpublic List<MarketHistoryResponse> getMarketsRegionIdHistory(Integer regionId, Integer typeId, String datasource, String userAgent, String xUserAgent) throws ApiException
regionId - Return statistics in this region (required)typeId - Return statistics for this type (required)datasource - The server name you would like data from (optional, default to
tranquility)userAgent - Client identifier, takes precedence over headers (optional)xUserAgent - Client identifier, takes precedence over User-Agent (optional)ApiException - if fails to make API callpublic List<MarketOrdersResponse> getMarketsRegionIdOrders(String orderType, Integer regionId, String datasource, Integer page, Integer typeId, String userAgent, String xUserAgent) throws ApiException
orderType - Filter buy/sell orders, return all orders by default. If you
query without type_id, we always return both buy and sell
orders. (required)regionId - Return orders in this region (required)datasource - The server name you would like data from (optional, default to
tranquility)page - Which page to query, only used for querying without type_id.
Starting at 1 (optional, default to 1)typeId - Return orders only for this type (optional)userAgent - Client identifier, takes precedence over headers (optional)xUserAgent - Client identifier, takes precedence over User-Agent (optional)ApiException - if fails to make API callpublic List<MarketStructuresResponse> getMarketsStructuresStructureId(Long structureId, String datasource, Integer page, String token, String userAgent, String xUserAgent) throws ApiException
structureId - Return orders in this structure (required)datasource - The server name you would like data from (optional, default to
tranquility)page - Which page to query, starting at 1 (optional, default to 1)token - Access token to use, if preferred over a header (optional)userAgent - Client identifier, takes precedence over headers (optional)xUserAgent - Client identifier, takes precedence over User-Agent (optional)ApiException - if fails to make API callCopyright © 2017. All Rights Reserved.