Pointz Directions API
The Pointz Directions API produces routes from a series of waypoints, such that the first through the second to last waypoints are traversed via e-scooter to a designated Lime parking zone. Then, the final waypoint is reached via walking directions from the API response.
Data on No-Ride Zones, Slow Streets, and Parking Zones are assumed to be included and incorporated in the routing service. Input parameters can be further modified as required, on top of the set of parameters offered below.
BaseURL
https://bikepointz.com:8443/route
Get Route and Instructions
`POST` `/route`
Example request
curl --location '{{BaseURL}}/route' --header 'Content-Type: application/json' --header 'X-API-KEY: YOUR_API_KEY' --data '{
"locations": [{"lat": 41.5870736,"lon": -71.41399729999999,"type": "break_through"},{"phone":123123123,"lat": 41.487,"lon": -71.3149056,"type": "break_through"}],
"costing": "scooter",
"directions_options": {"units": "miles"}}
}'
Inputs of a route
Required parameters
Retrieve directions between waypoints. Directions requests must specify at least two waypoints as starting and ending points.