Gov Router
Connector for the gov-router API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://router.api.gov.bc.ca - Auth:
header:apikey(pass your key via theapiKeyinput)
Operations
get_directions_outputformat— GET /directions.{outputFormat} — Get the directions, path, distance and travel time between a series of geographic pointsget_distance_outputformat— GET /distance.{outputFormat} — Get distance and travel time between two geographic pointsget_distance_betweenpairs_outputformat— GET /distance/betweenPairs.{outputFormat} — Get distance and travel time between each pair of geographic pointsget_optimaldirections_outputformat— GET /optimalDirections.{outputFormat} — Get the directions, optimal path, distance and travel time between a start point and a series of end points which are reordered to minimize total distance or time.get_optimalroute_outputformat— GET /optimalRoute.{outputFormat} — Get the optimal path, distance and travel time between a start point and a series of end points which are reordered to minimize total distance or time.get_route_outputformat— GET /route.{outputFormat} — Get the path, distance and travel time between a series of geographic points
Inputs
apiKey— your gov-router API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_directions_outputformat
apiKey: <your key>