Streaks API

Introduction

Streaks feature is calculated automatically as a part of Statistics.
It provides you with the best & current series of Trips with statistics, based and calculated on user's accumulated statistics:

  • Trips without Acceleration
  • Trips without Braking
  • Trips without Speeding
  • Trips without Phone Usage
  • Trips without Cornering
325

Dictionary

FieldShort description
StreakAccelerationBestTotal trips in Best series;
StreakAccelerationBestDurationSecDriving time in Best series;
StreakAccelerationBestDistanceKmMileage in Best series;
StreakAccelerationBestFromDateBest series start date;
StreakAccelerationBestToDateBest series end date;
StreakAccelerationCurrentStreakTotal trips in Current series;
StreakAccelerationCurrentDurationSecDriving time in Current series;
StreakAccelerationCurrentDistanceKmMileage in Current series;
StreakAccelerationCurrentFromDateCurrent series start date;
StreakAccelerationCurrentToDateCurrent series end date;
StreakAccelerationIsActiveTrue - Calculate Series of >=3 days duration only;
False - Series with any duration are calculated.

Methods

⚡ API reference Individual Streaks

Response

{
"Result":{
"DeviceToken":"c487c648-e086-43ed-871a-02098182f3c0"
"InstanceId":"f7832f3a-f936-4e97-b570-d8b640e4f244"
"AppId":"c06509a3-02f3-4139-8dde-aadf9c47dc62"
"CompanyId":"4b62ccc0-81b7-4d39-ad17-cdaf34a820d6"
"StreakCorneringBest":37
"StreakCorneringBestDurationSec":58838
"StreakCorneringBestDistanceKm":596.754
"StreakCorneringBestFromDate":"2021-05-15T00:00:00"
"StreakCorneringBestToDate":"2021-05-30T00:00:00"
"StreakCorneringCurrentStreak":1
"StreakCorneringCurrentDurationSec":213
"StreakCorneringCurrentDistanceKm":0.686
"StreakCorneringCurrentFromDate":"2021-05-31T00:00:00"
"StreakCorneringCurrentToDate":"2021-05-31T00:00:00"
"StreakCorneringIsActive":false
"StreakBrakingBest":7
"StreakBrakingBestDurationSec":4050
"StreakBrakingBestDistanceKm":24.202
"StreakBrakingBestFromDate":"2021-05-25T00:00:00"
"StreakBrakingBestToDate":"2021-05-26T00:00:00"
"StreakBrakingCurrentStreak":1
"StreakBrakingCurrentDurationSec":213
"StreakBrakingCurrentDistanceKm":0.686
"StreakBrakingCurrentFromDate":"2021-05-31T00:00:00"
"StreakBrakingCurrentToDate":"2021-05-31T00:00:00"
"StreakBrakingIsActive":false
"StreakAccelerationBest":7
"StreakAccelerationBestDurationSec":4050
"StreakAccelerationBestDistanceKm":24.202
"StreakAccelerationBestFromDate":"2021-05-25T00:00:00"
"StreakAccelerationBestToDate":"2021-05-26T00:00:00"
"StreakAccelerationCurrentStreak":1
"StreakAccelerationCurrentDurationSec":213
"StreakAccelerationCurrentDistanceKm":0.686
"StreakAccelerationCurrentFromDate":"2021-05-31T00:00:00"
"StreakAccelerationCurrentToDate":"2021-05-31T00:00:00"
"StreakAccelerationIsActive":false
"StreakOverSpeedBest":4
"StreakOverSpeedBestDurationSec":2493
"StreakOverSpeedBestDistanceKm":30.588
"StreakOverSpeedBestFromDate":"2021-05-22T00:00:00"
"StreakOverSpeedBestToDate":"2021-05-22T00:00:00"
"StreakOverSpeedCurrentStreak":1
"StreakOverSpeedCurrentDurationSec":1063
"StreakOverSpeedCurrentDistanceKm":13.519
"StreakOverSpeedCurrentFromDate":"2021-05-30T00:00:00"
"StreakOverSpeedCurrentToDate":"2021-05-30T00:00:00"
"StreakOverSpeedIsActive":false
"StreakPhoneUsageBest":5
"StreakPhoneUsageBestDurationSec":9315
"StreakPhoneUsageBestDistanceKm":124.77
"StreakPhoneUsageBestFromDate":"2021-05-22T00:00:00"
"StreakPhoneUsageBestToDate":"2021-05-23T00:00:00"
"StreakPhoneUsageCurrentStreak":1
"StreakPhoneUsageCurrentDurationSec":213
"StreakPhoneUsageCurrentDistanceKm":0.686
"StreakPhoneUsageCurrentFromDate":"2021-05-31T00:00:00"
"StreakPhoneUsageCurrentToDate":"2021-05-31T00:00:00"
"StreakPhoneUsageIsActive":false
"UpdatedAt":"2021-05-31T14:03:07.16"
}
"Status":200
"Title":""
"Errors":[
]
}