-
Notifications
You must be signed in to change notification settings - Fork 2
Vehicles Service
Maciej Mionskowski edited this page Oct 22, 2016
·
3 revisions
Vehicles service lets you manage vehicles associated with your route4me account.
import (
"github.com/route4me/route4me-go-sdk"
"github.com/route4me/route4me-go-sdk/vehicles"
)
func main() {
client := route4me.NewClient("your-api-key")
service := &vehicles.Service{Client: client}
}
Get vehicles belonging to the Route4Me’s account.
import (
"github.com/route4me/route4me-go-sdk"
"github.com/route4me/route4me-go-sdk/vehicles"
)
func main() {
client := route4me.NewClient("your-api-key")
service := &vehicles.Service{Client: client}
vehicles, err := service.GetVehicles()
if err != nil {
t.Error(err)
}
//do something with vehicles, it's []Vehicle
}
- 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