-
-
Save MC42/a4f11fec13f9e9139cfe53c5419d7bac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frc115 1998 | |
frc1323 2004 | |
frc148 1992 | |
frc1678 2005 | |
frc179 1998 | |
frc1902 2006 | |
frc1939 2006 | |
frc2046 2007 | |
frc2122 2007 | |
frc254 1999 | |
frc2682 2008 | |
frc2907 2009 | |
frc3132 2010 | |
frc3310 2010 | |
frc3574 2011 | |
frc3646 2011 | |
frc3847 2011 | |
frc4192 2012 | |
frc4201 2012 | |
frc4322 2012 | |
frc498 2001 | |
frc5026 2014 | |
frc6485 2017 | |
frc6579 2017 | |
frc6829 2018 | |
frc6986 2018 | |
frc7179 2018 | |
frc931 2002 | |
frc948 2002 | |
frc971 2002 | |
frc973 2002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
baseURL = 'http://www.thebluealliance.com/api/v3/' | |
header = {'X-TBA-Auth-Key':'(my key is here)'} | |
def getTBA(url): | |
return requests.get(baseURL + url, headers=header).json() | |
teamsAtChamps = getTBA("event/2019cmptx/teams") | |
for team in teamsAtChamps: | |
print(team['key'] + "\t" + str(team['rookie_year'])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment