Initial commit

This commit is contained in:
2021-07-12 14:29:27 +03:00
parent 6c7cd5aee2
commit b48a9f5c58
28 changed files with 472 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
defmodule ExDataGovUA.Resource.Base do
def download(url, _filename) do
url
|> ExDataGovUA.Streamers.HttpStreamer.get()
|> ExDataGovUA.Archivers.Gz.inflate()
|> ExDataGovUA.Decoders.JaxonDecoder.decode()
|> Enum.to_list()
# |> Stream.run()
# |> ExDataGovUA.Streamers.FileStreamer.export(filename)
end
end