AkahuSync/AkahuClient/main.py
2026-05-18 21:10:09 +12:00

16 lines
381 B
Python

from akahuclient import AkahuClient
import os
from dotenv import load_dotenv
load_dotenv()
TOKEN = os.getenv("AKAHU_API_TOKEN")
APP_ID = os.getenv("AKAHU_APP_ID")
# if not TOKEN or not APP_ID:
# print("Please set AKAHU_API_TOKEN and AKAHU_APP_ID in your environment.")
# exit(1)
# client = AkahuClient(TOKEN, APP_ID)
# accounts = client.get_accounts()
#print(accounts)