https://github.com/cytle/ticket
https://github.com/cytle/ticket
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cytle/ticket
- Owner: cytle
- Created: 2017-01-30T08:50:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-12T23:50:43.000Z (over 3 years ago)
- Last Synced: 2025-01-25T17:28:08.797Z (4 months ago)
- Language: JavaScript
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 查询12306车票信息
查询12306车票信息,可筛选过站
# Installation
```shell
$ npm install -g cticket
```# Usage
```
Usage: cticket [options]查询12306车票信息,可筛选过站.
eg: cticket beijing hangzhou 2017-02-28Options:
-h, --help output usage information
-g, --gao 高铁
-d, --dong 动车
-t, --te 特快
-k, --kuai 快速
-z, --zhi 直达
--through 途径站
-V, --version output the version number```
Example:
```shell
$ cticket beijin hangzhou 2017-04-10 --through shanghai
```
# TODO
- 查询余票接口容灾方案
- 监听余票# 注意
12306api地址可能会更换,引起报错