adding in base repo with not implemented functions

This commit is contained in:
Lucas Oskorep
2021-05-10 11:59:18 -05:00
parent d9ec582e1e
commit 3225a293a4
4 changed files with 104 additions and 0 deletions

17
mta_test.py Normal file
View File

@@ -0,0 +1,17 @@
import os
from dotenv import load_dotenv
from mta import MTA
load_dotenv()
async def mta_callback(data):
print("We are inside of hte call back now boizzzz")
print(data)
api_key = os.getenv('MTA_API_KEY', '')
mtaController = MTA(api_key)
mtaController.add_callback(mta_callback)
mtaController.start_updates()