roadtrips

Work out a road trip from a start and a destination: the driving days at the pace's daily limit, a real town to sleep in

Work out a road trip from a start and a destination: the driving days at the pace's daily limit, a real town to sleep in each night, km and hours from the router, ferries and borders, and how the drivers share the wheel. A PREVIEW — nothing is saved (save_road_trip saves exactly this). The free map services answer about once a second: "pending" means ask again — what is done comes back at once.

post/actions/propose_road_trip

Request

  • Base URL: https://findinghorizons.ca/api/v1
  • URL: https://findinghorizons.ca/api/v1/actions/propose_road_trip
  • Auth: OAuth 2 (authorization code, authorization URL https://findinghorizons.ca/api/mcp/authorize, token URL https://findinghorizons.ca/api/mcp/oauth/token, scopes: roadtrips:read)

Request body

startstring required

Where the drive starts (a town or city)

destinationstring required
stopsstring[]

Optional places on the way, in order

driversnumber

1, 2 or 3 people who drive

pace'relaxed' | 'balanced' | 'sooner'

relaxed ≤6 h at the wheel a day · balanced ≤8 h · sooner ≤10 h

backRoadsboolean

Avoid motorways (slower, scenic)

todaystring

The traveller's own date, YYYY-MM-DD, where the action needs one

Response

Done — { ok, api, action, result, card, operation? }

Changes

No recorded changes to this operation across all 1 revision of this API.