README: 範例改用三重三和路實際清運點
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,12 +16,11 @@
|
||||
用路線、里、點名或行政區關鍵字搜,拿到 `lineid` 和經緯度:
|
||||
|
||||
```
|
||||
./garbage.py find 保生路
|
||||
./garbage.py find 三和路4段191巷
|
||||
```
|
||||
|
||||
```
|
||||
lineid= 234012 rank= 37 14:00 永和區保安里 仁愛路保生路口 (25.00920367,121.5051601)
|
||||
...
|
||||
lineid= 241009 rank= 2 16:26 三重區慈生里 三和路4段191巷67號 (25.079740,121.484319)
|
||||
```
|
||||
|
||||
### 2. 開始盯
|
||||
@@ -29,7 +28,7 @@ lineid= 234012 rank= 37 14:00 永和區保安里 仁愛路保生路口 (25.0
|
||||
把你家那個清運點的經緯度和 `lineid` 餵進去:
|
||||
|
||||
```
|
||||
./garbage.py watch --lat 25.0092 --lng 121.5052 --line 234012
|
||||
./garbage.py watch --lat 25.079740 --lng 121.484319 --line 241009
|
||||
```
|
||||
|
||||
每 120 秒打一次即時 API,算最近出勤車輛的距離。進到 300 公尺就提醒,車開遠後自動重置以便下一趟再提醒。`Ctrl-C` 結束。
|
||||
|
||||
Reference in New Issue
Block a user