banking v0.1.2 Fintech.Fio.TransparentAccount View Source

FIO Banka - transparent account.

Link to this section Summary

Functions

Get links of transparent accounts on specified page

Get links of all transparent accounts

Link to this section Functions

Get links of transparent accounts on specified page.

Examples

iex>  Fintech.Fio.TransparentAccount.list("https://www.fio.cz/bankovni-sluzby/bankovni-ucty/transparentni-ucet/vypis-transparentnich-uctu")
[%{account: "2600088789",
   link: "https://www.fio.cz/ib2/transparent?a=2600088789",
   name: "A centrum - Váš průvodce těhotenstvím a rodičovstvím, o. p. s.",
   url: "http://www.acentrum.eu/"},
 %{account: "2800396030",
   link: "https://www.fio.cz/ib2/transparent?a=2800396030",
   name: "AA - anonymní alkoholici o.s.", url: nil},
 %{account: "2801230649",
    link: "https://www.fio.cz/ib2/transparent?a=2801230649", ...},
 %{account: "2101191407", ...}, %{...}, ...]

Get links of all transparent accounts.

Examples

iex> Fintech.Fio.TransparentAccount.list_all
[%{account: "2600088789",
   link: "https://www.fio.cz/ib2/transparent?a=2600088789",
   name: "A centrum - Váš průvodce těhotenstvím a rodičovstvím, o. p. s.",
   url: "http://www.acentrum.eu/"},
 %{account: "2800396030",
   link: "https://www.fio.cz/ib2/transparent?a=2800396030",
   name: "AA - anonymní alkoholici o.s.", url: nil},
 %{account: "2801230649",
    link: "https://www.fio.cz/ib2/transparent?a=2801230649", ...},
 %{account: "2101191407", ...}, %{...}, ...]
Link to this function transactions(account_id, from \\ "01.01.2007", to \\ Timex.format!(Timex.now(), "%d.%m.%Y", :strftime)) View Source

Get transactions of specified transparent account.

Examples

iex>  Fintech.Fio.TransparentAccount.transactions("2501277007")
[%{amount: "0,01 CZK", date: "11.09.2017",
    id: "28ecdee954bc961ac9c79f9dd4dc74be63af227a89d58b52e0b2649dc7190f51",
    index: 8855, ks: "2200", msg: "xx", name: "Sloupenský, Michal",
    ss: "226566874", type: "Platba převodem uvnitř banky", vs: "84456"},
 %{amount: "0,01 CZK", date: "11.09.2017",
    id: "c9ce082b2a5c28c51ba2f1d1a4161d6ed8d008b1a2389644b3abf689c1382dd8", ...},
 %{amount: "0,01 CZK", date: "11.09.2017", ...}, %{amount: "0,01 CZK", ...},
 %{...}, ...]