Bank: Connection to Bank website

Description Usage Arguments Details

Description

Create a class which will connect to a given bank when initialized and download useful information which we want to store (balance, operations).

Usage

1
2
3
4
5
6
  bank <- Bank$new()
  bank$connect_driver(path_to_phantomjs = "")
  bank$connect_bank(bank, account_number, password)
  bank$get_balance()
  bank$get_operations(from = NULL, to = NULL)
  bank$disconnect_driver()

Arguments

bank

Character, which bank to connect to

account_number

Numeric or character

password

Numeric or character

path_to_phantomjs

Character

from

Date

to

Date

Details

$new() creates a new instance of a bank object

$connect_driver() opens a web driver

$connect_bank() connects to a bank website

$get_balance() retrieves the balance for each account

$get_operations() retrieves operations from one date to another

$disconnect_driver() disconnect the web driver


denrou/budgetmanager documentation built on May 15, 2019, 3:26 a.m.