Justicecz
COMMING SOON
SDK for accessing data from justice.cz
Installation
Add this line to your application's Gemfile:
gem 'justicecz'
And then execute:
$ bundle
Or install it yourself as:
$ gem install justicecz
Usage
In this first version you can query justice.cz looking for specific ICO:
Justicecz::Query.query(ico: '04564634')
Which will give you nicely formatted Hash for further processing:
{
"Název subjektu:" => "autokosmetika s.r.o.",
"IČO:" => "04564634",
"Spisová značka:" => "C 249833 vedená u Městského soudu v Praze",
"Den zápisu:" => "13. listopadu 2015",
"Sídlo:" => "Jičínská 226/17, Žižkov, 130 00 Praha 3"
}
Thanks
Tomas Dvorak for his article on problems with justice.cz
Contributing
- Fork it ( https://github.com/[my-github-username]/justicecz/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request