Example: Data feed

Demonstrates how to poll for newly available data

Select feed data

This example will show you how you can poll your Geotab account on a regular interval for new information. You can use this framework to integrate your location history and vehicle status in to your own applications by performing periodic updates when needed.

In order to reduce the amount of network traffic, this example uses aggregated API calls which are called multi-calls. You can read more about them in the Geotab SDK documentation.



This example shows you how you can implement polling for multiple sources of data.

Work flow
We retrieve new information by setting up JavaScript intervals which invoke a function every few seconds. This function is responsible for building a set of API requests using MultiCall to reduce network traffic. After we have the results from the API response, we dynamically build an HTML table with all the data.

Skill level