16 lines
365 B
Python
16 lines
365 B
Python
from dotenv import load_dotenv
|
|
from actual import Actual
|
|
import os
|
|
|
|
load_dotenv()
|
|
|
|
|
|
print("hold onto your butts")
|
|
with Actual(
|
|
base_url=os.getenv('BASEURL'),
|
|
password=os.getenv('PASSWORD'),
|
|
encryption_password=None, # Optional: Password for the file encryption. Will not use it if set to None.
|
|
file=os.getenv('FILE')
|
|
) as actual:
|
|
print(actual)
|