#transport #api #status #victoria

ptv

A Rust library for the Public Transport Victoria (PTV) API

4 releases

0.2.2 Sep 5, 2024
0.2.1 Aug 19, 2024
0.1.2 Mar 22, 2024
0.1.1 Mar 15, 2024

#727 in Web programming

MIT license

93KB
1.5K SLoC

Icon

PTV (rs)

Public transport Victoria's API in rust

GitHub top language Crates.io Version docs.rs

Status

🟩 ; Complete, 🟦 ; To be tested (you can help!), 🟨 ; Needs work, 🟥 ; Avoid use in current state ; ❌ Not implemented, yet.

Feature Endpoint Status Notes
Departures /departures/route_type/stop/{} 🟦
/departures/route_type/{}/stop/{}/route/{} 🟦
Directions /directions/{} 🟦
/directions/route/{} 🟦
/directions/{}/route_type/{} 🟦
Disruptions /disruptions 🟦
/disruptions/route/{} 🟦
/disruptions/route/{}/stop/{} 🟦
/disruptions/stop/{} 🟦
Disruptions /disruptions/{} 🟦
Fare Estimate /fare_estimate/min_zone/{}/max_zone/{} 🟥 Not enough docs.
Outlets /outlets 🟦
/outlets/location/{}/{} 🟦
Patterns /pattern/run/{}/route_type/{} 🟦
Search /search/{} 🟦
Routes /routes 🟨 Types not yet concrete. See docs.
/routes/{} 🟨 "
Runs /runs/{} 🟨 "
/runs/route/{} 🟨 "
/runs/{}/route_type/{} 🟨 "
/runs/route/{}/route_type/{} 🟨 "
Stops /stops/{}/route_type/{} 🟨 "
/stops/route/{}/route_type/{} Not Implemented
/stops/location/{}/{} "

Dependencies

~9–24MB
~282K SLoC