metrotransit
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

MetroTransit NextTrip

Typescript Metro Transit API wrapper for the Minneapolis / St.Paul Nextrip web service as defined at https://svc.metrotransit.org/nextrip

From the Metro Transit Site:

The NexTrip API is a real-time transit departure data web service for third-party application developers using Metro Transit information. NexTrip departure information updates every 30 seconds.

Help conserve our bandwidth and server resources by writing your applications responsibly. Third party applications should not update departure information more frequently than every 30 seconds. Applications making excessive calls and updating more frequently than 30 seconds will be subject to restriction.

See also http://svc.metrotransit.org/nextrip/help

Usage

import { getProviders, Provider } from "metrotransit";

const providers: Provider[] = await getProviders();

Readme

Keywords

Package Sidebar

Install

npm i metrotransit

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

15.1 kB

Total Files

5

Last publish

Collaborators

  • dursin