UNPKG
node-cta
Version:
latest (0.0.1)
0.0.1
A node wrapper for the CTA's (Chicago Transit Authority) bus and train tracker APIs
node-cta
/
api
/
base.js
9 lines
(8 loc)
•
148 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
export
default
class
{
constructor
(
key
) {
this
.
key
= key; }
getUpcomingArrivalTimes
(
stopId
) {
return
`Hello
${stopId}
`
; } }