PACECloudSDK
/
cloud.pace.sdk.poikit.pricehistory
/
PriceHistoryAPI
/
getPricesByCountry
get
Prices
By
Country
@
GET
(
value =
"prices/fueling/countries/{countryCode}"
)
abstract fun
getPricesByCountry
(
@
Path
(
value =
"countryCode"
)
countryCode:
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/countries/{countryCode}/{fuelType}"
)
abstract fun
getPricesByCountry
(
@
Path
(
value =
"countryCode"
)
countryCode:
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