An open API service indexing awesome lists of open source software.

https://github.com/tschaefer/rolf

:fax: Ask Rolf for postcode.
https://github.com/tschaefer/rolf

Last synced: 3 months ago
JSON representation

:fax: Ask Rolf for postcode.

Awesome Lists containing this project

README

        

rolf


Ask Rolf for postcode.


Rofl - Deutsche Bundespost (Public Domain)


Introduction


Ask Rolf with german city, street and optional federal state name and he will
answer you with all matching postcodes.


Installation


$ gem build

$ gem install rolf-$(ruby -Ilib -e 'require "rolf/version"; puts Rolf::VERSION').gem

Usage


$ rolf query --full Gamisch-Partenkirchen Zugspitzstrasse

82467

$ rolf query --full Gamisch-Partenkirchen Zugspitzstrasse
Zugspitzstraße, Garmisch-Partenkirchen, Landkreis Garmisch-Partenkirchen, Obb, Bayern, 82467

$ rolf query --json Gamisch-Partenkirchen Zugspitzstrasse
[
{
"road": "Zugspitzstraße",
"town": "Garmisch-Partenkirchen",
"county": "Landkreis Garmisch-Partenkirchen",
"state_district": "Obb",
"state": "Bayern",
"postcode": "82467"
}
]


For further information about the command line tool rolf use the switches
--help / --man.


License


GNU General Public License v3.0.


Is it any good?


Yes.