AkahuSync/AkahuClient/main.py

16 lines
375 B
Python
Raw Normal View History

from akahuclient import AkahuClient
import os
2026-05-18 22:47:46 +00:00
from config import load_env
2026-05-18 22:47:46 +00:00
load_env()
TOKEN = os.getenv("AKAHU_API_TOKEN")
APP_ID = os.getenv("AKAHU_APP_ID")
2026-05-18 09:10:09 +00:00
# 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)