PriceHistoryClient

class PriceHistoryClient(environment: Environment)

Functions

getPricesByCountry
Link copied to clipboard
fun getPricesByCountry(countryCode: String, since: Date, granularity: String, forecast: Boolean, completion: (Completion<List<PriceHistory>>) -> Unit)
fun getPricesByCountry(countryCode: String, fuelType: String, since: Date, granularity: String, forecast: Boolean, completion: (Completion<List<PriceHistoryFuelType>>) -> Unit)
getPricesByStation
Link copied to clipboard
fun getPricesByStation(stationId: String, since: Date, granularity: String, forecast: Boolean, completion: (Completion<List<PriceHistory>>) -> Unit)
fun getPricesByStation(stationId: String, fuelType: String, since: Date, granularity: String, forecast: Boolean, completion: (Completion<List<PriceHistoryFuelType>>) -> Unit)