Skip to content
bkdrf.ru data parser
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib
test
.gitignore
README.md
mix.exs
mix.lock

README.md

Bkdrf

It's a simple app to parse bkdrf.ru website and do some calculations with the data presented on this site.

Installation

If available in Hex, the package can be installed by adding bkdrf to your list of dependencies in mix.exs:

def deps do
  [
    {:bkdrf, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/bkdrf.

Usage

For example, we want to get all the data about Saratov, run this in the repository root folder:

➜ mkdir cache
➜ mix deps.get
➜ mix deps.compile
➜ iex -S mix
Erlang/OTP 20 [erts-9.0.5] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Interactive Elixir (1.5.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Bkdrf.get "saratov"
---
2dc02626-2284-4450-a7b7-c05f6a08412f
Установка пешеходных ограждений
Автомобильная дорога по ул. Тельмана
...
You can’t perform that action at this time.