1.2.5 • Published 6 months ago

ttc-api v1.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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

6 months ago

1.2.5

6 months ago

1.2.3

6 months ago

1.2.2

6 months ago

1.2.1

6 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.1.2

12 months ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago