Skip to content

Commit

Permalink
fix: add api key note thingy
Browse files Browse the repository at this point in the history
  • Loading branch information
awwpotato committed Oct 16, 2024
1 parent 9b068bf commit 21176fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion TBAData.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
)

Expand Down
3 changes: 2 additions & 1 deletion nexusData.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
3 changes: 2 additions & 1 deletion tbaPulseData.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 21176fa

Please sign in to comment.