Skip to content

A fully typed Tbilisi Transport Company API Wrapper

License

Notifications You must be signed in to change notification settings

sunneydev/ttc-api

Repository files navigation

A fully typed Tbilisi Transport Company API Wrapper

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`);
}

About

A fully typed Tbilisi Transport Company API Wrapper

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published