#transport #api #status #icons #victoria

ptv

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

2 releases

0.1.2 Mar 22, 2024
0.1.1 Mar 15, 2024

#170 in Date and time

Download history 139/week @ 2024-03-13 169/week @ 2024-03-20 11/week @ 2024-03-27 17/week @ 2024-04-03

198 downloads per month

MIT license

85KB
837 lines

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

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

Dependencies

~8–22MB
~304K SLoC