Thebluealliance
The Blue Alliance is a website and API that provides event, team, match, and results data for FIRST Robotics competitions.
- Base URL:
https://www.thebluealliance.com/api/v3 - Auth:
header:X-TBA-Auth-Key(pass your key via theapiKeyinput)
Operations
getdistrictevents— GET /district/{district_key}/events — Gets a list of events in the given district.getdistricteventskeys— GET /district/{district_key}/events/keys — Gets a list of event keys for events in the given district.getdistricteventssimple— GET /district/{district_key}/events/simple — Gets a short-form list of events in the given district.getdistrictrankings— GET /district/{district_key}/rankings — Gets a list of team district rankings for the given district.getdistrictteams— GET /district/{district_key}/teams — Gets a list ofTeamobjects that competed in events in the given district.getdistrictteamskeys— GET /district/{district_key}/teams/keys — Gets a list ofTeamobjects that competed in events in the given district.
Inputs
apiKey— your thebluealliance API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getdistrictevents
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: getdistrictevents, getdistricteventskeys, getdistricteventssimple, getdistrictrankings, getdistrictteams, getdistrictteamskeys |
district_key |
string | no | — | Path parameter district_key (required by some operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |