diff --git a/TBAData.py b/TBAData.py index a37a6e2..962a8f8 100644 --- a/TBAData.py +++ b/TBAData.py @@ -14,7 +14,8 @@ def __init__(self): configuration = tbaapiv3client.Configuration( host="https://www.thebluealliance.com/api/v3", api_key={ -***REMOVED*** + "X-TBA-Auth-Key": "" + # TODO get api key from .env }, ) diff --git a/nexusData.py b/nexusData.py index 80e67b7..b8df7a2 100644 --- a/nexusData.py +++ b/nexusData.py @@ -7,7 +7,8 @@ event_key = "demo8771" # TESTING! change to the event key before using at events url = "https://frc.nexus/api/v1/event/" + event_key -***REMOVED*** +headers = {"Nexus-Api-Key": ""} +# TODO get api from .env def nexusData(): diff --git a/tbaPulseData.py b/tbaPulseData.py index 2aacd83..c3b3e4c 100644 --- a/tbaPulseData.py +++ b/tbaPulseData.py @@ -1,6 +1,7 @@ import tbapy -***REMOVED*** +# TODO get api from .env +key = "" event_key = "2024cc" # TESTING! change to your event key when using at events tba = tbapy.TBA(key)