Code Monkey home page Code Monkey logo

12306's Introduction

12306火车票查询工具

参数

起点站 到达站 [时间] [列车类型(G,C,D,Z,T,K),多个用(英文半角逗号)隔开] [排序方式(1<出发时间升序>,2<到达时间升序>,3<历时升序>)]

常规查询

./12306 北京 天津 2017-06-08 G,D,Z,T 3 ./12306 北京 天津 now G,D,Z,T 3 可用now代表现在时间

精确车站查询

只需要在车站名称前加上^符号即可

./12306 ^北京 天津 2017-06-09 G

截图

TODO

  • 参数指定排序方式(出发到达时间,历时)

开发

安装依赖

dotnet restore

运行调试

dotnet run 北京 天津 2017-06-08 G,C,D,Z,T

发布

dotnet publish -c Release -r <RUNTIME_IDENTIFIER>

更多RUNTIME_IDENTIFIER请参阅: .NET Core 运行时标识符 (RID) 目录

常用:

  • dotnet publish -c Release -r win10-x64
  • dotnet publish -c Release -r centos.7-x64
  • dotnet publish -c Release -r osx.10.12-x64

12306's People

Contributors

eeve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.