Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.28 KB

File metadata and controls

32 lines (24 loc) · 1.28 KB

Java SDK Samples

Common Geotab API usage examples in Java.

Setup

git clone https://github.com/Geotab/sdk-java-samples.git
cd sdk-java-samples
mvn compile

Run

mvn 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.

Examples

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