PriceHistoryAPI

interface PriceHistoryAPI

Functions

getPricesByCountry
Link copied to clipboard
@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>>
@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>>
getPricesByStation
Link copied to clipboard
@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>>
@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>>