Skip to content

Python API for Accessing SimpleFIN (geared towards Home Assistant)

License

Notifications You must be signed in to change notification settings

jeeftor/simplefin4py

Repository files navigation

SimpleFIN4PY

This library helps you access simpelFIN with python

"""Example file."""
import asyncio
from dotenv import load_dotenv
import os

from simplefin4py import SimpleFin

# Read info from .env file
load_dotenv()

access_url: str = os.getenv("ACCESS_URL", "")


async def main() -> None:
    """Main function."""
    sf: SimpleFin = SimpleFin(access_url)
    data = await sf.fetch_data()
    print(data)


# Run the async main function
if __name__ == "__main__":
    asyncio.run(main())

About

Python API for Accessing SimpleFIN (geared towards Home Assistant)

Resources

License

Stars

Watchers

Forks

Packages

No packages published