Dependencies
make install-dependencies
Usage
列出所有路线与车站
./metro list
搜寻起始点至目的地的路径
./metro search --limit 5 --max_transfer 2 圓山 忠孝復興
>>> from rapid.systems import TaipeiMetro
>>> metro = TaipeiMetro()
>>> metro.show_map()
>>> metro.search_routes('圓山', '忠孝復興', 1, 1)
API
>>> from rapid.systems import TaipeiMetro
>>> metro = TaipeiMetro()
>>> metro.system.get_lines()
>>> metro.system.get_line_st
2021-07-03 14:05:59
123KB
Python
1