Skip to content

ryuichiueda/eki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eki

日本の鉄道駅のデータとutilityコマンド

使い方

いまのところ test 内のテストを参考にするということでご容赦ください。

データについて

駅データ.jpさんが提供していたAPIサービスのデータを、 https://ekidata.jp/api/ の手順で復元したものです。

利用規約

利用規約にしたがって公開していますので、 本リポジトリの利用も同じ規約に基づくこととなります。 駅データさんのデータであることの明記や、駅データさんへのリンクを推奨いたします。

データについて

駅データ.jpさんの2020年6月19日付無償データから作成しています。

コマンドについて

./bin/ekiというコマンドがあります。

GitHubでクローンした後、cdbinに移動し、 ./ekiと打つと路線名と駅名が出力されます。

インストール

$ git clone https://github.com/ryuichiueda/eki
$ cd eki
$ sudo make install
$ eki -h
eki 0.1
Copyright (C) 2021, Ryuichi Ueda.

Usage: eki [option]

These are some sub-commands (see eki [sub-command] -h):
    pref:                    Show each prefectures with the lines in it.
    line <station_name>:     Show lines avaliable at the station.
    adj <station_name>:      Show adjoining stations.

MIT License
Released under MIT license
https://github.com/ryuichiueda/eki

ライセンス

MITライセンス

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages