3 个不稳定版本
| 新增 0.2.1 | 2024 年 8 月 19 日 |
|---|---|
| 0.1.2 | 2024 年 3 月 22 日 |
| 0.1.1 | 2024 年 3 月 15 日 |
#737 in 网页编程
每月 106 次下载
93KB
1.5K SLoC
PTV (rs)
公共交通维多利亚的 Rust API
状态
🟩 ; 完成,🟦 ; 待测试 (你可以帮忙!),🟨 ; 需要工作,🟥 ; 避免在当前状态下使用;❌ 未实现。
| 功能 | 端点 | 状态 | 注释 |
|---|---|---|---|
| 出发 | /departures/route_type/stop/{} | 🟦 | |
| /departures/route_type/{}/stop/{}/route/{} | 🟦 | ||
| 方向 | /directions/{} | 🟦 | |
| /directions/route/{} | 🟦 | ||
| /directions/{}/route_type/{} | 🟦 | ||
| 干扰 | /disruptions | 🟦 | |
| /disruptions/route/{} | 🟦 | ||
| /disruptions/route/{}/stop/{} | 🟦 | ||
| /disruptions/stop/{} | 🟦 | ||
| 干扰 | /disruptions/{} | 🟦 | |
| 票价估算 | /fare_estimate/min_zone/{}/max_zone/{} | 🟥 | 文档不足。 |
| 售票点 | /outlets | 🟦 | |
| /outlets/location/{}/{} | 🟦 | ||
| 模式 | /pattern/run/{}/route_type/{} | 🟦 | |
| 搜索 | /search/{} | 🟦 | |
| 路线 | /routes | 🟨 | 类型尚未具体化。请参阅文档。 |
| /routes/{} | 🟨 | " | |
| 运行 | /runs/{} | 🟨 | " |
| /runs/route/{} | 🟨 | " | |
| /runs/{}/route_type/{} | 🟨 | " | |
| /runs/route/{}/route_type/{} | 🟨 | " | |
| 站点 | /stops/{}/route_type/{} | 🟨 | " |
| /stops/route/{}/route_type/{} | ❌ | 未实现 | |
| /stops/location/{}/{} | ❌ | " |
依赖项
~8–20MB
~293K SLoC