Deep Linking#
For a light-weight alternative to using our API, you can also deep-link into the TripGo app.
Routing results#
$schema://$host/go?$parameters
Opens the routing results for the specified destination, and optionally the start and time:
flat,flng: Start coordinates. If not specified, the user's current location is used.tlat,tlng: End coordinates. Required, unlesstnameis provided.tname: Destination as a search string (supports what3words). Required, unlesstlatandtlngare provided.type:0for leaving ASAP,1for leaving aftertime,2for arriving bytime. Required.time: Query time in seconds since 1970. Required, unlesstypeis set to0.
Examples:
Destination information#
$schema://$host/meet?$parameters
Opens the search screen with the destination and arrival time filled in.
lat,lng: Coordinate where to meet. Required, unlessnameis provided.name: Destination as a search string (supports what3words). Required, unlesslatandlngare provided.time: Arrival time in seconds since 1970. Required.
Examples:
- iOS: tripgo:///meet?lat=-33.94501&lng=151.25807&at=1385535734
- Web: http://tripgo.com/meet?lat=-33.94501&lng=151.25807&at=1385535734
Timetable#
$schema://$host/stop/$region/$stopCode
Opens the departures timetable for a given stop. $region and $stop use region codes and stop codes as defined in our API.
Examples: