diff --git a/emoneyscraper/main.py b/EmoneyScraper/main.py similarity index 100% rename from emoneyscraper/main.py rename to EmoneyScraper/main.py diff --git a/emoneyscraper/scraper.py b/EmoneyScraper/scraper.py similarity index 100% rename from emoneyscraper/scraper.py rename to EmoneyScraper/scraper.py diff --git a/IngestionService/ingester.py b/IngestionService/ingester.py new file mode 100644 index 0000000..8bb358d --- /dev/null +++ b/IngestionService/ingester.py @@ -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)