This is an API that allows read-only access to information from TransPerth such as the scheduled arrival time of trains, buses and ferries at stopping points as well as SmartRider data.
Documentation for this project can be found at maxrumsey.xyz.
These examples fetch data from a SmartRider as well as the expected arrival time of a bus.
const transperth = ;const Client = ;Client // Example SmartRider Number
const transperth = ;const Client = ;Client // Example Bus Stop Number