Cigo is a last mile delivery software solution link to Cigo website
You can visit the API Doc to get a general idea API Doc
This library will help you connect with the api by calling the methods in CigoConnect.py
.
We have 4 entities a Job
, JobSearch
, JobAction
and Itinerary
.
Job
is used to create and retrieve JobsJobSearch
is used to search for a jobJobAction
is used to create and retrieve JobActionsJobGeocoding
is used retrieve job geocodingJobProgress
is used retrieve job progressItinerary
is used to retrieve itinerariesVehicleTracking
is used to retrieve itineraries
Start by calling CigoConnect()
with debug
, account_id
and auth_key
. debug
is used to switch between demo and production endpoints.
cc = CigoConnect(debug, account_id, auth_key)
Now you can use cc
to call the endpoint functions, each function has a docstring that shows the return.
Retrieve
functions return:- Object / List of objects.
- Raise an exception if the response has an error.
Search
functions return:- List of ids.
- Raise an exception if the response has an error.
Create
/Delete
/Update
functions always return the response from the endpoint.
You can find a sample on how to use CigoConnect.py
in example.py