Routific Engine API
Route-Optimization-as-a-Service

Overview

  • Next-generation Route Optimization software
  • Taking advantage of Cloud Computing
  • Easy integration through a RESTful JSON API
 

JSON

Today's standard data-interchange format

Used to communicate across systems, agnostic of programming language used

Refer to the documentation:




Examples


Assuming demo.json contains the example data from the previous slide, you may use any language of choice to send it to the Routific API.

The following example uses Node.js, but you can also use your language of preference to make HTTP requests (e.g. jQuery, PHP, Python, Go, Java, etc.)

 

node.js

Install Node.js (http://nodejs.org/download/)
npm install request (https://github.com/mikeal/request)

 

api Response

JSON response returning the optimized routes.

The results can be displayed on the front-end using Google Maps, Leaflet.js, or Mapbox.

Basic HTML and Javascript required, to build a simple dashboard.

long-running tasks

The examples in the previous slide work well if the response-time is < 20 seconds (generally up to ~50 stops)

For larger requests, it is better to use long-running tasks.

Once the request is accepted, the API will return immediately with a job_id -- you may use this ID to fetch the solution later:
 
Please refer to the documentation here: 

resources

Javascript basics:
Installing Node.js and using Request (simple HTTP client):
For plotting results, either Google Maps, or Mapbox:

support








For questions: 
support@routific.com

API overview

By mck-

API overview

  • 2,252