ttc-api
v1.2.5
Published
A fully typed Tbilisi Transport Company API Wrapper
Downloads
19
Maintainers
Readme
A fully typed Tbilisi Transport Company API Wrapper
Documentation
Installation
# npm
$ npm install ttc-api
# yarn
$ yarn add ttc-api
# pnpm
$ pnpm add ttc-api
Usage
import { ttc } from "ttc-api";
const arrivalTimes = await ttc.stopArrivalTimes("1946").then((arrivalTimes) => {
for (let at of arrivalTimes) {
console.log(`${at.RouteNumber} arrives in ${at.ArrivalTime} minutes`);
}