adding in base repo with not implemented functions
This commit is contained in:
17
mta_test.py
Normal file
17
mta_test.py
Normal 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()
|
||||
Reference in New Issue
Block a user