-
Notifications
You must be signed in to change notification settings - Fork 2
Telematics Service
The Route4Me telematics gateway allows you to integrate data from third party telematics systems through the “Vehicles” section of your Route4Me account. Vehicles from connected third-party systems are automatically imported and re-synchronized into the account of the corresponding Route4Me user. Each Route4Me vehicle can then be “linked” to a vehicle that is external to Route4Me.When tracking data is captured from a 3rd party system, then data sent to Route4Me is evaluated to determine which vehicle (by ID) is associated with this connected vehicle ID. The last-known active route for the corresponding Route4Me vehicle ID is identified, and tracking data is appended into this route’s tracking history.
import (
"github.com/route4me/route4me-go-sdk"
"github.com/route4me/route4me-go-sdk/telematics"
)
func main() {
service := telematics.NewTelematicsService("your-api-key")
}
GET all telematics vendors
import (
"github.com/route4me/route4me-go-sdk"
"github.com/route4me/route4me-go-sdk/telematics"
)
func main() {
client := route4me.NewClient("your-api-key")
service := &telematics.Service{Client: client}
vendors, err := service.GetVendors()
if err != nil {
//handle error
}
//do something with the response
}
GET a telematics vendor.
import (
"github.com/route4me/route4me-go-sdk"
"github.com/route4me/route4me-go-sdk/telematics"
)
func main() {
client := route4me.NewClient("your-api-key")
service := &telematics.Service{Client: client}
vendor, err := service.GetVendor(`vendor-id`)
if err != nil {
//handle error
}
//do something with the response
}
Compares Vendors
import (
"github.com/route4me/route4me-go-sdk"
"github.com/route4me/route4me-go-sdk/telematics"
)
func main() {
client := route4me.NewClient("your-api-key")
service := &telematics.Service{Client: client}
vendors, err := service.CompareVendors(`vendor-id`,`vendor-id-2`,...)
if err != nil {
//handle error
}
//do something with the response
}
Search through all vendors
import (
"github.com/route4me/route4me-go-sdk"
"github.com/route4me/route4me-go-sdk/telematics"
)
func main() {
client := route4me.NewClient("your-api-key")
service := &telematics.Service{Client: client}
vendors, err := service.SearchVendors(&VendorQuery{
Integrated: true,
Feature: "Satellite",
Country: "GB",
})
if err != nil {
//handle error
}
//do something with the response
}
- Activity
- Addressbook
- Routing
- Single Driver Route 10 Stops
- Single Driver Round Trip
- Single Depot Multiple Driver No Time Windows
- Single Depot Multiple Driver Time Windows
- Multiple Depot Multiple Driver
- Multiple Depot Multiple Driver With Time Windows
- Multiple Depot Multiple Driver With Time Windows (24 Stops)
- Tracking
- Geocoding
- Users
- Territories
- Orders
- Vehicles
- Telematics