Real-Time Information API

Command: help

Inputs

Parameter Description
cmd=help Requests help for bsa commands (Required)
key=<key> API registration key (Required)
json=y Returns API output in JSON format. Default output is XML if parameter not specified. (Optional)

Results

XML Sample

<?xml version="1.0" encoding="iso-8859-1" ?> 
<root>
  <uri><![CDATA[ http://api.bart.gov/api/etd.aspx?cmd=help ]]></uri>
  <message>
    <help><![CDATA[ Commands: etd, help ]]></help>
  </message>
</root>

JSON Sample

{
   "?xml":{
      "@version":"1.0",
      "@encoding":"utf-8"
   },
   "root":{
      "uri":{
         "#cdata-section":"http://api.bart.gov/api/etd.aspx?cmd=help&json=y"
      },
      "message":{
         "help":{
            "#cdata-section":"Commands: etd, help "
         }
      }
   }
}

Notes

None.

Usage

http://api.bart.gov/api/etd.aspx?cmd=help&key=MW9S-E7SL-26DU-VV8V