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[ https://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":"https://api.bart.gov/api/etd.aspx?cmd=help&json=y"
      },
      "message":{
         "help":{
            "#cdata-section":"Commands: etd, help "
         }
      }
   }
}

Notes

None.

Usage

https://api.bart.gov/api/etd.aspx?cmd=help&key=INSERT-KEY