Skip to content

regexb/ripta-server

Repository files navigation

RIPTA Api Server


Endpoints

  • route_stops: /api/v1/routes/<route_id>?stop_id=<stop_id>
  • stop_locations: /api/v1/stop?location=<lat,long>
  • geocode: /api/v1/geocode?q=<query_string>

Route Stops

Returns the current list of upcoming bus stops for a given route. Can filter by stop_id

Stop Locations

Returns a list of the closest bus stops to the provided lat and long coordinates.

Geocode

Uses an address or cross street to look up the lat and long data for the query. (example)

TODO

  • add optional direction query param to the route stops endpoint (to only display trips with the desired direction)
  • add optional direction query param to the stop locations endpoint (to limit stops to the desired direction)
  • add additional timing data from the google data matrix api

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published