Skip to content

A quick and dirty hacked tool to query RIL100/DS100 abbreviations from the DB (Deutsche Bahn) in Germany.

License

Notifications You must be signed in to change notification settings

dragonchaser/go-ril100

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-ril100

A quick and dirty hacked tool to query RIL100/DS100 abbreviations from the DB (Deutsche Bahn) in Germany.

usage

text output

$> go-ril100 DFL

result

Name     : Flöha
Type     : station
Address  :
	Street : Bahnhofstr. 2a
	City   : 09557 Flöha
Location :
	Latitude  :50.854355
	Longitude :13.075152

json output

$> go-ril100 DFL --json |jq

Note: jq is optional, just beautifies the output in our case.

result

{
  "type": "station",
  "name": "Flöha",
  "address": {
    "city": "Flöha",
    "zipcode": "09557",
    "street": "Bahnhofstr. 2a"
  },
  "location": {
    "latitude": 50.854355,
    "longitude": 13.075152
  }
}

building

just run $> make

About

A quick and dirty hacked tool to query RIL100/DS100 abbreviations from the DB (Deutsche Bahn) in Germany.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published