1.2.5 • Published 2 years ago

ttc-api v1.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.2.5

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.2

2 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago