added

Weekly Update from Motion-S (Week 9, 2022)

We have released a new version of our API reference! Start exploring our new calls now. One special highlight is our new call to retrieve risk events.

curl --request GET \
     --url 'https://api.motion-s.com/analytics/risk/v2/events?days=14&limit=10000&offset=0&format=records&ignore_cache=false' \
     --header 'Accept: application/json'
[
  [
    {
      "id": "3696",
      "factor": "speeding",
      "latitude": 44.46527,
      "longitude": 26.11879,
      "date": "2022-03-02T16:08:00",
      "duration": 0,
      "bad": true,
      "road_type": "urban",
      "speed_kmh": 31,
      "penalty": []
    },
    {
      "id": "3696",
      "factor": "accelerating",
      "latitude": 44.4666,
      "longitude": 26.118,
      "date": "2022-03-02T16:07:35",
      "duration": 1,
      "bad": true,
      "road_type": "urban",
      "speed_kmh": 32,
      "penalty": [],
      "g_force": 0.26
    }
  ]
]