PACECloudSDK
/
cloud.pace.sdk.poikit.pricehistory
/
PriceHistoryAPI
/
getPricesByStation
get
Prices
By
Station
@
GET
(
value =
"prices/fueling/stations/{stationId}"
)
abstract fun
getPricesByStation
(
@
Path
(
value =
"stationId"
)
stationId:
String
,
@
Query
(
value =
"filter[since]"
)
since:
String
,
@
Query
(
value =
"granularity"
)
granularity:
String
,
@
Query
(
value =
"forecast"
)
forecast:
Boolean
):
Call
<
List
<
PriceHistory
>>
Content copied to clipboard
@
GET
(
value =
"prices/fueling/stations/{stationId}/{fuelType}"
)
abstract fun
getPricesByStation
(
@
Path
(
value =
"stationId"
)
stationId:
String
,
@
Path
(
value =
"fuelType"
)
fuelType:
String
,
@
Query
(
value =
"filter[since]"
)
since:
String
,
@
Query
(
value =
"granularity"
)
granularity:
String
,
@
Query
(
value =
"forecast"
)
forecast:
Boolean
):
Call
<
List
<
PriceHistoryFuelType
>>
Content copied to clipboard