0.0.10 • Published 5 years ago

mbta-api v0.0.10

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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;
}
0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago