From 5291113c795942546d42af0805774208f55c08a3 Mon Sep 17 00:00:00 2001 From: jonathanferreras Date: Thu, 2 Aug 2018 10:23:38 -0400 Subject: [PATCH] exposed train trip id --- lib/utils/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils/index.js b/lib/utils/index.js index c6765c1..6c6a333 100644 --- a/lib/utils/index.js +++ b/lib/utils/index.js @@ -41,6 +41,7 @@ module.exports = { parseObj: function (t, s) { return { + tripId: t.trip_id, routeId: t.route_id, delay: (!s.arrival) ? null : s.arrival.delay, arrivalTime: (!s.arrival) ? null : s.arrival.time.low,