Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 1 month ago
JSON representation
WSGI API to retrieve information about a FIRST-registered team
- Host: GitHub
- URL: https://github.com/bubner/firstteamapi
- Owner: bubner
- Created: 2023-07-10T09:57:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-06T23:46:59.000Z (6 months ago)
- Last Synced: 2024-10-10T03:01:15.373Z (about 1 month ago)
- Topics: api, first, first-lego-league, first-robotics-competition, first-tech-challenge, flask, json-api, python, wsgi
- Language: Python
- Homepage: https://firstteamapi.vercel.app
- Size: 5.64 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```