0.1.1 • Published 1 year ago

rttapi v0.1.1

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.1.0

1 year ago

0.1.1

1 year ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago