Module: Weese::Rail::Urls

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

Overview

URLS for MetroRail related endpoints

Constant Summary collapse

LINES =

WMATA Endpoints

'https://api.wmata.com/Rail.svc/json/jLines'
ENTRANCES =

WMATA Endpoints

'https://api.wmata.com/Rail.svc/json/jStationEntrances'
POSITIONS =

WMATA Endpoints

'https://api.wmata.com/TrainPositions/TrainPositions'
ROUTES =

WMATA Endpoints

'https://api.wmata.com/TrainPositions/StandardRoutes'
CIRCUITS =

WMATA Endpoints

'https://api.wmata.com/TrainPositions/TrackCircuits'
ELEVATOR_AND_ESCALATOR_INCIDENTS =

WMATA Endpoints

'https://api.wmata.com/Incidents.svc/json/ElevatorIncidents'
INCIDENTS =

WMATA Endpoints

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

WMATA Endpoints

'https://api.wmata.com/StationPrediction.svc/json/GetPrediction/'
INFORMATION =

WMATA Endpoints

'https://api.wmata.com/Rail.svc/json/jStationInfo'
PARKING_INFORMATION =

WMATA Endpoints

'https://api.wmata.com/Rail.svc/json/jStationParking'
PATH =

WMATA Endpoints

'https://api.wmata.com/Rail.svc/json/jPath'
TIMINGS =

WMATA Endpoints

'https://api.wmata.com/Rail.svc/json/jStationTimes'
STATION_TO_STATION =

WMATA Endpoints

'https://api.wmata.com/Rail.svc/json/jSrcStationToDstStationInfo'
STATIONS =

WMATA Endpoint

'https://api.wmata.com/Rail.svc/json/jStations'