Real-Time Consumption via Webhook
For applications that require real-time data, mobway provides a streaming mechanism through webhooks. With this approach, as soon as new vehicle data is received and processed by mobway, it is immediately sent to the endpoint configured by the client. This gives you instant access to critical information, such as vehicle events or telemetry updates, enabling fast and accurate responses.
Benefits of Webhook Streaming:
- Immediacy: Receive data as soon as it is generated, without the need for periodic requests.
- Efficiency: Reduce the load on your infrastructure by receiving only new data, without constantly querying the API.
- Scalability: Suitable for scenarios where large volumes of data are generated and must be processed in real time.
Historical Data Consumption via API
In addition to real-time streaming, you can also access historical data from connected vehicles using our API. This approach is ideal when you need to analyze specific time periods, perform audits, or generate reports based on past data. Simply provide a date range using the ‘start_date’ and ‘end_date’ parameters to retrieve the required data.
Benefits of API Consumption:
- Flexibility: Query data according to your application’s needs, with the ability to specify precise time ranges.
- Time-based analysis: Explore the full history of connected vehicles, which is ideal for retrospective analysis or report generation.
- Control: Define exactly which data you want to access by filtering for the periods that are relevant to your application.