CLI tool to obtain schedule info from the dutch railway services
Project description
nstimes
Find your next train home while you are in CLI. I used the Dutch Railway Services (Nederlandse Spoorwegen) API to make myself this tool.
Usage:
$ nstimes [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
journey
: Provide train type, platform and departure...update-stations-json
nstimes journey
Provide train type, platform and departure times of an A -> B journey
Usage:
$ nstimes journey [OPTIONS]
Options:
--start TEXT
: Start station [required]--end TEXT
: Stop station [required]--token TEXT
: Token to talk with the NS API [env var: NS_API_TOKEN; required]--help
: Show this message and exit.
nstimes update-stations-json
Usage:
$ nstimes update-stations-json [OPTIONS]
Options:
--token TEXT
: Token to talk with the NS API [env var: NS_API_TOKEN; required]--help
: Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nstimes-0.1.4.tar.gz
(6.8 kB
view hashes)