0.0.8 • Published 1 year ago

rttapi v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

About

rttapi is a Node.JS module for interacting with the Realtime Trains API.

Example Usage

// Set up the client
const client = new RTTClient("your-username", "your-password");

// Get location information and current services through London Euston
const london = await client.locations.at("EUS");

// Get information about a service with ID W98641 that ran on 31st January 2023
const service = await client.services.get("W98641", new Date(2023, 0, 31))

Links

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago