mbta-api
v0.0.10
Published
A Basic MBTA api
Downloads
5
Readme
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;
}