Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First version of sync #1

Merged
merged 5 commits into from
Mar 3, 2024
Merged

First version of sync #1

merged 5 commits into from
Mar 3, 2024

Conversation

bvanelli
Copy link
Owner

@bvanelli bvanelli commented Mar 3, 2024

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)

Used as reference the JS implementation of the Actual API. Implemented
the base abstraction class, authentication and budget download, as well
as the database models to query the budget.
@bvanelli bvanelli merged commit 8eab19a into main Mar 3, 2024
1 of 4 checks passed
@bvanelli bvanelli deleted the wip/first-version-of-sync branch April 4, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant