Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bubner/firstteamapi

WSGI API to retrieve information about a FIRST-registered team
https://github.com/bubner/firstteamapi

api first first-lego-league first-robotics-competition first-tech-challenge flask json-api python wsgi

Last synced: about 22 hours ago
JSON representation

WSGI API to retrieve information about a FIRST-registered team

Awesome Lists containing this project

README

        

# FIRSTTeamAPI
### Live at https://firstteamapi.vercel.app/get_team/TEAM_NUMBER_HERE
WSGI API to retrieve information about a FIRST-registered team
# Example usage
Input:
```/get_team/15215```


Output:
```
{
"data": [
{
"nickname": "MURRAY BRIDGE BUNYIPS",
"orgs": "Murray Bridge High School",
"city": "MURRAY BRIDGE",
"province": "SA",
"postcode": "5253",
"country": "Australia",
"country_code": "AU",
"program": "FIRST Tech Challenge",
"website": "https://sites.google.com/mbhs.sa.edu.au/the-mb-bunyips/home?authuser=0",
"season": 2022,
"rookie_year": 2018
}
],
"team_number": 15215,
"valid": true
}
```
___
Input:
```/get_team/365```


Output:
```
{
"data": [
{
"city": "Wilmington",
"country": "USA",
"country_code": "US",
"nickname": "MOE (The Miracle Workerz)",
"orgs": "First State Robotics & First State Robotics",
"postcode": "19880",
"program": "FIRST Tech Challenge",
"province": "DE",
"rookie_year": 2008,
"season": 2022,
"website": "http://www.moeftc.org"
},
{
"city": "Wilmington",
"country": "USA",
"country_code": "US",
"nickname": "Miracle Workerz",
"orgs": "DuPont/JP Morgan Chase/The Boeing Company/On-Board Engineering/Siemens/Incyte/First State Robotics/Chemours&MOE Robotics Group",
"postcode": "19808",
"program": "FIRST Robotics Competition",
"province": "DE",
"rookie_year": 2000,
"season": 2023,
"website": "http://www.moe365.net"
}
],
"team_number": 365,
"valid": true
}
```
___
Input:
```/get_team/1```


Output:
```
{
"data": [],
"team_number": 1,
"valid": false
}
```
___
Input:
```/``` ```/blah``` ```/get_team/blah```


Output:
```
404 Not Found
```