added stub for ingestion service
This commit is contained in:
parent
63588d35f9
commit
32e64d65c6
15
IngestionService/ingester.py
Normal file
15
IngestionService/ingester.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
from ..EmoneyScraper import Scraper
|
||||
from ..AkahuClient import AkahuClient
|
||||
from dotenv import load_dotenv
|
||||
import os
|
||||
|
||||
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)
|
||||
Loading…
Reference in a new issue