TransPerth API
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
Documentation for this project can be found at maxrumsey.xyz.
Example
These examples fetch data from a SmartRider as well as the expected arrival time of a bus.
SmartRider
const transperth = ;const Client = ;Client // Example SmartRider Number
Bus Times
const transperth = ;const Client = ;Client // Example Bus Stop Number