Licence
MIT
Version
0.0.10
Deps
2
Size
74 kB
Vulns
25
Weekly
0
MBTA-api
An mbta api that I am building out. This is a work in progress. If need a function, open an issue or make a pull request.
Install
npm i mbta-api
Usage
ts
import { Client } from 'mbta-api';
const client = new Client();
async function getAlerts() {
const redLineAlerts = await client.getAlerts('Red');
redLineAlerts[0].cause;
}