https://github.com/jeeftor/simplefin4py
Python API for Accessing SimpleFIN (geared towards Home Assistant)
https://github.com/jeeftor/simplefin4py
Last synced: 5 months ago
JSON representation
Python API for Accessing SimpleFIN (geared towards Home Assistant)
- Host: GitHub
- URL: https://github.com/jeeftor/simplefin4py
- Owner: jeeftor
- License: mit
- Created: 2024-01-16T23:55:43.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-30T15:17:08.000Z (almost 2 years ago)
- Last Synced: 2024-12-16T04:10:20.329Z (over 1 year ago)
- Language: Python
- Size: 226 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimpleFIN4PY
This library helps you access simpelFIN with python
```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())
```