aucklandtransport.js
v1.0.1
Published
A node.js library for interfacing with the current Auckland Transport API
Readme
AT.JS
A node.js library for interfacing with the current Auckland Transport API
Installation
npm install aucklandtransport.jsExample usage
import AT from "aucklandtransport.js";
// promise
AT.getStops().then((stops) => {
console.log(stops);
});
// async
let stops = await AT.getStops();
console.log(stops);