Tservertime: Queries the current MBTA API server time.

Description Usage Arguments Value

Description

Returns the server time. Useful if needing to sync user computer time with the epoch time of MBTA events.

Usage

1
 Tservertime(api_key) 

Arguments

api_key

API key for MBTA API. To obtain one, visit the MBTA Developer Portal (http://realtime.mbta.com/Portal/)

Value

server_dt

Server time, in epoch time. Example: "1361996667"


MBTAr documentation built on May 2, 2019, 6:59 a.m.

Related to Tservertime in MBTAr...