bvanelli / actualpy

Python API implementation for Actual server - reference https://actualbudget.org/
20 stars 4 forks source link

First version of sync #1

Closed bvanelli closed 6 months ago

bvanelli commented 6 months ago

Implements the first working version of full download of Actual remote database, by doing all the steps. Untested for multiple scenarios. Here is a simple test script:

from actual import Actual

actual = Actual("http://localhost:5006", password="mypass")
actual.login()
actual.set_file("Example")
actual.download_budget()

for t in actual.get_transactions():
    print(t.account.name, t.notes, t.amount, t.category_.name)