new MTA()

Description

RightTrackTransitAgency implementation for the Metropolitan Transportation Authority (MTA).

For more information, see:

Details

Methods


loadFeed( callback )

Description

Load the Transit Feed for the MTA

Parameters
Name Type Description
callback function

Callback function

Name Type Attributes Description
error Error

Transit Feed Error. The Error's message will be a pipe (|) separated string in the format of: Error Code|Error Type|Error Message that will be parsed out by the Right Track API Server into a more specific error Response.

feed TransitFeed <optional>

The built Transit Feed for the MTA

Details