Get Mileage statistics
/**
* Represents details info about Mileage scoring.
*
* @param period Statistics period. See also [StatisticPeriod]
*/
fun *getMileageDetailsStatistics(period: StatisticPeriod): MileageDetails
Response:
class MileageDetails(
/**
* Mileage rating range 0..100
*/
val mileageRating: Int,
/**
* Average Mileage for week in km
*/
val averageMileageForWeek: Float,
/**
* Average Mileage for month in km
*/
val averageMileageForMonth: Float,
/**
* Total mileage in km
*/
val mileageSummary: Float,
/**
* Predicted annual mileage in km
*/
val expectedYearMileage: Float,
/**
* Diagram data mileage for period km/date
*/
val mileageDiagram: Array<DiagramEntity>?
)
Last updated