Skip to content

FRC3636/tba-api-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust API client for openapi

Overview

Information and statistics about FIRST Robotics Competition teams and events.

Authentication

All endpoints require an Auth Key to be passed in the header X-TBA-Auth-Key. If you do not have an auth key yet, you can obtain one from your Account Page.

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 3.9.5
  • Package version: 3.9.5
  • Generator version: 7.10.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named openapi and add the following to Cargo.toml under [dependencies]:

openapi = { path = "./openapi" }

Documentation for API Endpoints

All URIs are relative to https://www.thebluealliance.com/api/v3

Class Method HTTP request Description
DistrictApi get_district_events GET /district/{district_key}/events
DistrictApi get_district_events_keys GET /district/{district_key}/events/keys
DistrictApi get_district_events_simple GET /district/{district_key}/events/simple
DistrictApi get_district_rankings GET /district/{district_key}/rankings
DistrictApi get_district_teams GET /district/{district_key}/teams
DistrictApi get_district_teams_keys GET /district/{district_key}/teams/keys
DistrictApi get_district_teams_simple GET /district/{district_key}/teams/simple
DistrictApi get_districts_by_year GET /districts/{year}
DistrictApi get_event_district_points_0 GET /event/{event_key}/district_points
DistrictApi get_team_districts_0 GET /team/{team_key}/districts
EventApi get_district_events_0 GET /district/{district_key}/events
EventApi get_district_events_keys_0 GET /district/{district_key}/events/keys
EventApi get_district_events_simple_0 GET /district/{district_key}/events/simple
EventApi get_event GET /event/{event_key}
EventApi get_event_alliances GET /event/{event_key}/alliances
EventApi get_event_awards GET /event/{event_key}/awards
EventApi get_event_coprs GET /event/{event_key}/coprs
EventApi get_event_district_points GET /event/{event_key}/district_points
EventApi get_event_insights GET /event/{event_key}/insights
EventApi get_event_match_timeseries GET /event/{event_key}/matches/timeseries
EventApi get_event_matches GET /event/{event_key}/matches
EventApi get_event_matches_keys GET /event/{event_key}/matches/keys
EventApi get_event_matches_simple GET /event/{event_key}/matches/simple
EventApi get_event_oprs GET /event/{event_key}/oprs
EventApi get_event_predictions GET /event/{event_key}/predictions
EventApi get_event_rankings GET /event/{event_key}/rankings
EventApi get_event_simple GET /event/{event_key}/simple
EventApi get_event_team_media GET /event/{event_key}/team_media
EventApi get_event_teams GET /event/{event_key}/teams
EventApi get_event_teams_keys GET /event/{event_key}/teams/keys
EventApi get_event_teams_simple GET /event/{event_key}/teams/simple
EventApi get_event_teams_statuses GET /event/{event_key}/teams/statuses
EventApi get_events_by_year GET /events/{year}
EventApi get_events_by_year_keys GET /events/{year}/keys
EventApi get_events_by_year_simple GET /events/{year}/simple
EventApi get_team_event_awards_0 GET /team/{team_key}/event/{event_key}/awards
EventApi get_team_event_matches_0 GET /team/{team_key}/event/{event_key}/matches
EventApi get_team_event_matches_keys_0 GET /team/{team_key}/event/{event_key}/matches/keys
EventApi get_team_event_matches_simple_0 GET /team/{team_key}/event/{event_key}/matches/simple
EventApi get_team_event_status_0 GET /team/{team_key}/event/{event_key}/status
EventApi get_team_events_0 GET /team/{team_key}/events
EventApi get_team_events_by_year_0 GET /team/{team_key}/events/{year}
EventApi get_team_events_by_year_keys_0 GET /team/{team_key}/events/{year}/keys
EventApi get_team_events_by_year_simple_0 GET /team/{team_key}/events/{year}/simple
EventApi get_team_events_keys_0 GET /team/{team_key}/events/keys
EventApi get_team_events_simple_0 GET /team/{team_key}/events/simple
EventApi get_team_events_statuses_by_year_1 GET /team/{team_key}/events/{year}/statuses
InsightApi get_insights_leaderboards_year GET /insights/leaderboards/{year}
ListApi get_district_events_1 GET /district/{district_key}/events
ListApi get_district_events_keys_1 GET /district/{district_key}/events/keys
ListApi get_district_events_simple_1 GET /district/{district_key}/events/simple
ListApi get_district_rankings_1 GET /district/{district_key}/rankings
ListApi get_district_teams_1 GET /district/{district_key}/teams
ListApi get_district_teams_keys_1 GET /district/{district_key}/teams/keys
ListApi get_district_teams_simple_1 GET /district/{district_key}/teams/simple
ListApi get_event_teams_1 GET /event/{event_key}/teams
ListApi get_event_teams_keys_1 GET /event/{event_key}/teams/keys
ListApi get_event_teams_simple_1 GET /event/{event_key}/teams/simple
ListApi get_event_teams_statuses_1 GET /event/{event_key}/teams/statuses
ListApi get_events_by_year_0 GET /events/{year}
ListApi get_events_by_year_keys_0 GET /events/{year}/keys
ListApi get_events_by_year_simple_0 GET /events/{year}/simple
ListApi get_insights_leaderboards_year_0 GET /insights/leaderboards/{year}
ListApi get_team_events_statuses_by_year GET /team/{team_key}/events/{year}/statuses
ListApi get_teams_0 GET /teams/{page_num}
ListApi get_teams_by_year_0 GET /teams/{year}/{page_num}
ListApi get_teams_by_year_keys_0 GET /teams/{year}/{page_num}/keys
ListApi get_teams_by_year_simple_0 GET /teams/{year}/{page_num}/simple
ListApi get_teams_keys_0 GET /teams/{page_num}/keys
ListApi get_teams_simple_0 GET /teams/{page_num}/simple
MatchApi get_event_match_timeseries_0 GET /event/{event_key}/matches/timeseries
MatchApi get_event_matches_0 GET /event/{event_key}/matches
MatchApi get_event_matches_keys_0 GET /event/{event_key}/matches/keys
MatchApi get_event_matches_simple_0 GET /event/{event_key}/matches/simple
MatchApi get_match GET /match/{match_key}
MatchApi get_match_simple GET /match/{match_key}/simple
MatchApi get_match_timeseries GET /match/{match_key}/timeseries
MatchApi get_match_zebra GET /match/{match_key}/zebra_motionworks
MatchApi get_team_event_matches_1 GET /team/{team_key}/event/{event_key}/matches
MatchApi get_team_event_matches_keys_1 GET /team/{team_key}/event/{event_key}/matches/keys
MatchApi get_team_event_matches_simple_1 GET /team/{team_key}/event/{event_key}/matches/simple
MatchApi get_team_matches_by_year_0 GET /team/{team_key}/matches/{year}
MatchApi get_team_matches_by_year_keys_0 GET /team/{team_key}/matches/{year}/keys
MatchApi get_team_matches_by_year_simple_0 GET /team/{team_key}/matches/{year}/simple
TbaApi get_status GET /status
TeamApi get_district_rankings_0 GET /district/{district_key}/rankings
TeamApi get_district_teams_0 GET /district/{district_key}/teams
TeamApi get_district_teams_keys_0 GET /district/{district_key}/teams/keys
TeamApi get_district_teams_simple_0 GET /district/{district_key}/teams/simple
TeamApi get_event_teams_0 GET /event/{event_key}/teams
TeamApi get_event_teams_keys_0 GET /event/{event_key}/teams/keys
TeamApi get_event_teams_simple_0 GET /event/{event_key}/teams/simple
TeamApi get_event_teams_statuses_0 GET /event/{event_key}/teams/statuses
TeamApi get_team GET /team/{team_key}
TeamApi get_team_awards GET /team/{team_key}/awards
TeamApi get_team_awards_by_year GET /team/{team_key}/awards/{year}
TeamApi get_team_districts GET /team/{team_key}/districts
TeamApi get_team_event_awards GET /team/{team_key}/event/{event_key}/awards
TeamApi get_team_event_matches GET /team/{team_key}/event/{event_key}/matches
TeamApi get_team_event_matches_keys GET /team/{team_key}/event/{event_key}/matches/keys
TeamApi get_team_event_matches_simple GET /team/{team_key}/event/{event_key}/matches/simple
TeamApi get_team_event_status GET /team/{team_key}/event/{event_key}/status
TeamApi get_team_events GET /team/{team_key}/events
TeamApi get_team_events_by_year GET /team/{team_key}/events/{year}
TeamApi get_team_events_by_year_keys GET /team/{team_key}/events/{year}/keys
TeamApi get_team_events_by_year_simple GET /team/{team_key}/events/{year}/simple
TeamApi get_team_events_keys GET /team/{team_key}/events/keys
TeamApi get_team_events_simple GET /team/{team_key}/events/simple
TeamApi get_team_events_statuses_by_year_0 GET /team/{team_key}/events/{year}/statuses
TeamApi get_team_history GET /team/{team_key}/history
TeamApi get_team_matches_by_year GET /team/{team_key}/matches/{year}
TeamApi get_team_matches_by_year_keys GET /team/{team_key}/matches/{year}/keys
TeamApi get_team_matches_by_year_simple GET /team/{team_key}/matches/{year}/simple
TeamApi get_team_media_by_tag GET /team/{team_key}/media/tag/{media_tag}
TeamApi get_team_media_by_tag_year GET /team/{team_key}/media/tag/{media_tag}/{year}
TeamApi get_team_media_by_year GET /team/{team_key}/media/{year}
TeamApi get_team_robots GET /team/{team_key}/robots
TeamApi get_team_simple GET /team/{team_key}/simple
TeamApi get_team_social_media GET /team/{team_key}/social_media
TeamApi get_team_years_participated GET /team/{team_key}/years_participated
TeamApi get_teams GET /teams/{page_num}
TeamApi get_teams_by_year GET /teams/{year}/{page_num}
TeamApi get_teams_by_year_keys GET /teams/{year}/{page_num}/keys
TeamApi get_teams_by_year_simple GET /teams/{year}/{page_num}/simple
TeamApi get_teams_keys GET /teams/{page_num}/keys
TeamApi get_teams_simple GET /teams/{page_num}/simple

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published