Raxel Statistics framework(Android manual)
Installation
To always link to the most recent version, link to the RaxelStatistics Android framework with maven rather than downloading the framework itself.

Add Raxel maven repository to your module repositories section (i.e. <project>/app/build.gradle)
    Your module build.gradle file
    def raxelMavenRepo="https://mymavenrepo.com/repo/fSCXIHAoBMWBdlZGqq6n/"
    
    repositories {
        ...
        maven { url raxelMavenRepo }
    }
    Add Raxel SDK dependency to your dependencies section
    implementation ("com.raxel.statistics:sdk:0.8.2") 
    • You are ready to go!
    Using
    Prior to any statistics calls one should set DeviceId
    Statistics.setDeviceID("SOME-DEVICE-ID")
    Statistics SDK using RxJava2 for your convinience, so all API calls are returning Single<T>
    Example:
     Statistics.getDashboardInfo()
                        .observeOn(AndroidSchedulers.mainThread())
                        .subscribe ({
                            //Do stuff here
                        }, {})
    API REFERENCE
    getDashboardInfo (request basic driving data for user)
    Response fields:
    • Rating
    • Discount
    • DrivingLevel
    • SpeedLevel
    • MileageLevel
    • PhoneLevel
    • TimeOfDayScore
    getDrivingStatistic
    • DrivingRating
    • HeavyBrakingFrequencyFor100km //Heavy braking times per 100km
    • ActiveAccelerationFrequencyFor100km //Active accelerations per 100km
    • HeavyBrakingCountForPeriod
    • ActiveAccelerationForPeriod
    • HeavyBrakingDiagram
    • ActiveAccelerationDiagram
    getSpeedStatistic
    • SpeedRating
    • DrivingOverSpeedLimitFor100km .
    • DrivingOverSpeedLimitMore20kmOver100km //Speed limit exceeded more than 20km per 100km
    • MaximumSpeed
    • AverageSpeed
    • DrivingOverSpeedLimitDiagram
    • DrivingOverSpeeLimitMore20kmDiagram
    getDrivingTimeStatistic
    • MileageRating
    • AverageMileageForWeek
    • AverageMilageForMonth
    • MileageSummary
    • ExpectedYearMileage
    • MileageDiagram
    getPhoneUsageStatistic
    • PhoneRating
    • UsingPhoneWhileDriving
    • UsingPhoneWhileDrivingOverSpeedLimit
    • UsingPhoneWhileDrivingDiagram
    • UsingPhoneWhileDrivingOverSpeedLimitDiagram
    All diagrams are list of Pair<Date, Value>