Common Geotab API usage examples in Java.
git clone https://github.com/Geotab/sdk-java-samples.git
cd sdk-java-samples
mvn compilemvn exec:java -Dapp=<name>Credentials are prompted interactively on first run and cached in session.local.properties (gitignored). The last chosen app is remembered in app.local.properties.
| App | Description |
|---|---|
getCount |
Count of entities (User, Zone, Device…) |
getLogs |
GPS logs for a vehicle over a date range |
sendTextMessage |
Send text messages to/from a GO device |
importGroups |
Import groups from a CSV file |
importDevices |
Import devices from a CSV file |
importUsers |
Import users from a CSV file |
dataFeed |
GPS, Status and Fault data feed to CSV |
maintenance |
Maintenance work orders and requests |