Analysis Histogram Result as a CSV file
Get a full histogram result as a CSV file by sending a GET request.
|apiKey||Authorization key for access to the API.|
|dateRange||Index of the date range.|
|timeRange||Index of the time range.|
|type||Type of the histogram. One of the following values:|
This response will return a CSV file containing all histograms for all possible combinations of single origin and destination. The array size depends on the histogram type you choose:
|Type||Size of array|
|DURATIONS||No limitation (contains all durations buckets for minimal interval of 5 minutes).|
|LENGHTS||No limitation (contains all length buckets for minimal interval of 1 kilometer).|
The response contains a CSV which should be self describing. The first row contains labels and the following rows contain data. The first two columns are reserved for region names, and the rest of them are reserved for histogram values.
1Origin,Destination,0,5,10,15,20,25,30,35,40,..2Region A,Region A,41,21,10,4,0,0,1,2,0,..3Region A,External,473,555,263,174,107,78,78,45,34,..4External,Region A,435,469,213,142,105,86,66,39,42,..5External,External,850,2265,2294,1666,1141,902,665,524,487,..
If there is an error in the supplied parameters or any other internal problem, an error response is generated in the requested format.