Module: Weese::Bus::Urls

Defined in:
lib/weese/bus/urls.rb

Overview

URLs for MetroBus related endpoints

Constant Summary collapse

ROUTES =

A WMATA endpoint

'HTTPS://api.wmata.com/Bus.svc/json/jRoutes'
STOPS =

A WMATA endpoint

'https://api.wmata.com/Bus.svc/json/jStops'
INCIDENTS =

A WMATA endpoint

'https://api.wmata.com/Incidents.svc/json/BusIncidents'
POSITIONS =

A WMATA endpoint

'https://api.wmata.com/Bus.svc/json/jBusPositions'
PATH_DETAILS =

A WMATA endpoint

'https://api.wmata.com/Bus.svc/json/jRouteDetails'
ROUTE_SCHEDULE =

A WMATA endpoint

'https://api.wmata.com/Bus.svc/json/jRouteSchedule'
NEXT_BUSES =

A WMATA endpoint

'https://api.wmata.com/NextBusService.svc/json/jPredictions'
STOP_SCHEDULE =

A WMATA endpoint

'https://api.wmata.com/Bus.svc/json/jStopSchedule'