shutupflanders / moneydashboard

Python library for MoneyDashboard
MIT License
12 stars 4 forks source link

MoneyDashboard

Buy me a coffee

Python library for accessing MoneyDashboard data

Installation

With Pip

pip install moneydashboard

With Source Code

You can get the source code by cloning it from Github:

git clone https://github.com/shutupflanders/moneydashboard.git

or get the tarball:

curl -OJL https://github.com/shutupflanders/moneydashboard/tarball/master

then either include the library into your code, or install it with:

python setup.py install

Usage

You need to first create an instance.

md = MoneyDashboard(email="myemail@email.com", password="MyPassword123")

Once authenticated, you can start fetching data from the MoneyDashboard API. It will return data as a JSON string so you'll have to parse the result as follows:

balances = json.loads(md.get_balances())

The above request will load your accounts data, and with that response you can get your balances.

print('Net Balance: ', balances['net_balance'])