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.
Jobis used to create and retrieve JobsJobSearchis used to search for a jobJobActionis used to create and retrieve JobActionsJobGeocodingis used retrieve job geocodingJobProgressis used retrieve job progressItineraryis used to retrieve itinerariesVehicleTrackingis 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.
Retrievefunctions return:- Object / List of objects.
- Raise an exception if the response has an error.
Searchfunctions return:- List of ids.
- Raise an exception if the response has an error.
Create/Delete/Updatefunctions always return the response from the endpoint.
You can find a sample on how to use CigoConnect.py in example.py