ftc_events_client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +236 -0
- data/Rakefile +10 -0
- data/config.json +8 -0
- data/docs/AllianceModelVersion2.md +32 -0
- data/docs/AllianceScore2020.md +86 -0
- data/docs/AllianceSelectionApi.md +62 -0
- data/docs/AllianceSelectionModelVersion2.md +20 -0
- data/docs/ApiIndexModel.md +34 -0
- data/docs/AwardAssignmentModel.md +38 -0
- data/docs/AwardsApi.md +235 -0
- data/docs/AwardsModel.md +18 -0
- data/docs/EventMatchResultsModelVersion2.md +18 -0
- data/docs/EventRankingsModel.md +18 -0
- data/docs/EventScheduleHybridModelVersion2.md +18 -0
- data/docs/EventScheduleModelVersion2.md +18 -0
- data/docs/GeneralApi.md +51 -0
- data/docs/MatchResultModelVersion2.md +44 -0
- data/docs/MatchResultTeamModelVersion2.md +22 -0
- data/docs/MatchResultsApi.md +141 -0
- data/docs/MatchScoresModel.md +18 -0
- data/docs/MatchScoresModelMatchScoresOneOf.md +51 -0
- data/docs/RankingsApi.md +68 -0
- data/docs/ScheduleApi.md +135 -0
- data/docs/ScheduleHybridModelTeamVersion2.md +26 -0
- data/docs/ScheduleHybridModelVersion2.md +44 -0
- data/docs/ScheduledMatchModelVersion2.md +32 -0
- data/docs/ScheduledMatchTeamModelVersion2.md +24 -0
- data/docs/ScoreDetailAllianceModel2020.md +90 -0
- data/docs/ScoreDetailModel2019.md +22 -0
- data/docs/ScoreDetailModel2020.md +22 -0
- data/docs/ScoreDetailModelAlliance2019.md +84 -0
- data/docs/ScoreDetailModelSinglePlayer2020.md +24 -0
- data/docs/SeasonAwardListingsModel.md +18 -0
- data/docs/SeasonAwardsModel.md +24 -0
- data/docs/SeasonDataApi.md +182 -0
- data/docs/SeasonEventListingsModelVersion2.md +20 -0
- data/docs/SeasonEventModelVersion2.md +50 -0
- data/docs/SeasonSummaryModelChampionship.md +22 -0
- data/docs/SeasonSummaryModelVersion2.md +28 -0
- data/docs/SeasonTeamListingsModelVersion2.md +26 -0
- data/docs/SeasonTeamModelVersion2.md +40 -0
- data/docs/Stone.md +15 -0
- data/docs/TeamRankingModel.md +46 -0
- data/docs/TournamentLevel.md +15 -0
- data/ftc_events_client.gemspec +38 -0
- data/git_push.sh +58 -0
- data/lib/ftc_events_client.rb +80 -0
- data/lib/ftc_events_client/api/alliance_selection_api.rb +87 -0
- data/lib/ftc_events_client/api/awards_api.rb +296 -0
- data/lib/ftc_events_client/api/general_api.rb +79 -0
- data/lib/ftc_events_client/api/match_results_api.rb +185 -0
- data/lib/ftc_events_client/api/rankings_api.rb +93 -0
- data/lib/ftc_events_client/api/schedule_api.rb +176 -0
- data/lib/ftc_events_client/api/season_data_api.rb +229 -0
- data/lib/ftc_events_client/api_client.rb +390 -0
- data/lib/ftc_events_client/api_error.rb +57 -0
- data/lib/ftc_events_client/configuration.rb +275 -0
- data/lib/ftc_events_client/models/alliance_model_version2.rb +288 -0
- data/lib/ftc_events_client/models/alliance_score2020.rb +524 -0
- data/lib/ftc_events_client/models/alliance_selection_model_version2.rb +230 -0
- data/lib/ftc_events_client/models/api_index_model.rb +301 -0
- data/lib/ftc_events_client/models/award_assignment_model.rb +317 -0
- data/lib/ftc_events_client/models/awards_model.rb +221 -0
- data/lib/ftc_events_client/models/event_match_results_model_version2.rb +221 -0
- data/lib/ftc_events_client/models/event_rankings_model.rb +221 -0
- data/lib/ftc_events_client/models/event_schedule_hybrid_model_version2.rb +221 -0
- data/lib/ftc_events_client/models/event_schedule_model_version2.rb +221 -0
- data/lib/ftc_events_client/models/match_result_model_version2.rb +343 -0
- data/lib/ftc_events_client/models/match_result_team_model_version2.rb +237 -0
- data/lib/ftc_events_client/models/match_scores_model.rb +221 -0
- data/lib/ftc_events_client/models/match_scores_model_match_scores_one_of.rb +106 -0
- data/lib/ftc_events_client/models/schedule_hybrid_model_team_version2.rb +257 -0
- data/lib/ftc_events_client/models/schedule_hybrid_model_version2.rb +349 -0
- data/lib/ftc_events_client/models/scheduled_match_model_version2.rb +289 -0
- data/lib/ftc_events_client/models/scheduled_match_team_model_version2.rb +247 -0
- data/lib/ftc_events_client/models/score_detail_alliance_model2020.rb +543 -0
- data/lib/ftc_events_client/models/score_detail_model2019.rb +239 -0
- data/lib/ftc_events_client/models/score_detail_model2020.rb +239 -0
- data/lib/ftc_events_client/models/score_detail_model_alliance2019.rb +519 -0
- data/lib/ftc_events_client/models/score_detail_model_single_player2020.rb +245 -0
- data/lib/ftc_events_client/models/season_award_listings_model.rb +221 -0
- data/lib/ftc_events_client/models/season_awards_model.rb +247 -0
- data/lib/ftc_events_client/models/season_event_listings_model_version2.rb +230 -0
- data/lib/ftc_events_client/models/season_event_model_version2.rb +377 -0
- data/lib/ftc_events_client/models/season_summary_model_championship.rb +239 -0
- data/lib/ftc_events_client/models/season_summary_model_version2.rb +268 -0
- data/lib/ftc_events_client/models/season_team_listings_model_version2.rb +257 -0
- data/lib/ftc_events_client/models/season_team_model_version2.rb +328 -0
- data/lib/ftc_events_client/models/stone.rb +38 -0
- data/lib/ftc_events_client/models/team_ranking_model.rb +344 -0
- data/lib/ftc_events_client/models/tournament_level.rb +41 -0
- data/lib/ftc_events_client/version.rb +15 -0
- data/spec/api/alliance_selection_api_spec.rb +48 -0
- data/spec/api/awards_api_spec.rb +89 -0
- data/spec/api/general_api_spec.rb +46 -0
- data/spec/api/match_results_api_spec.rb +71 -0
- data/spec/api/rankings_api_spec.rb +50 -0
- data/spec/api/schedule_api_spec.rb +68 -0
- data/spec/api/season_data_api_spec.rb +77 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/alliance_model_version2_spec.rb +76 -0
- data/spec/models/alliance_score2020_spec.rb +238 -0
- data/spec/models/alliance_selection_model_version2_spec.rb +40 -0
- data/spec/models/api_index_model_spec.rb +82 -0
- data/spec/models/award_assignment_model_spec.rb +94 -0
- data/spec/models/awards_model_spec.rb +34 -0
- data/spec/models/event_match_results_model_version2_spec.rb +34 -0
- data/spec/models/event_rankings_model_spec.rb +34 -0
- data/spec/models/event_schedule_hybrid_model_version2_spec.rb +34 -0
- data/spec/models/event_schedule_model_version2_spec.rb +34 -0
- data/spec/models/match_result_model_version2_spec.rb +112 -0
- data/spec/models/match_result_team_model_version2_spec.rb +46 -0
- data/spec/models/match_scores_model_match_scores_one_of_spec.rb +31 -0
- data/spec/models/match_scores_model_spec.rb +34 -0
- data/spec/models/schedule_hybrid_model_team_version2_spec.rb +58 -0
- data/spec/models/schedule_hybrid_model_version2_spec.rb +112 -0
- data/spec/models/scheduled_match_model_version2_spec.rb +76 -0
- data/spec/models/scheduled_match_team_model_version2_spec.rb +52 -0
- data/spec/models/score_detail_alliance_model2020_spec.rb +250 -0
- data/spec/models/score_detail_model2019_spec.rb +46 -0
- data/spec/models/score_detail_model2020_spec.rb +46 -0
- data/spec/models/score_detail_model_alliance2019_spec.rb +232 -0
- data/spec/models/score_detail_model_single_player2020_spec.rb +52 -0
- data/spec/models/season_award_listings_model_spec.rb +34 -0
- data/spec/models/season_awards_model_spec.rb +52 -0
- data/spec/models/season_event_listings_model_version2_spec.rb +40 -0
- data/spec/models/season_event_model_version2_spec.rb +130 -0
- data/spec/models/season_summary_model_championship_spec.rb +46 -0
- data/spec/models/season_summary_model_version2_spec.rb +64 -0
- data/spec/models/season_team_listings_model_version2_spec.rb +58 -0
- data/spec/models/season_team_model_version2_spec.rb +100 -0
- data/spec/models/stone_spec.rb +28 -0
- data/spec/models/team_ranking_model_spec.rb +118 -0
- data/spec/models/tournament_level_spec.rb +28 -0
- data/spec/spec_helper.rb +111 -0
- data/update.sh +8 -0
- metadata +265 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
# FtcEventsClient::ScheduleHybridModelTeamVersion2
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **team_number** | **Integer** | | [optional] |
|
8
|
+
| **station** | **String** | | [optional] |
|
9
|
+
| **surrogate** | **Boolean** | | [optional] |
|
10
|
+
| **no_show** | **Boolean** | | [optional] |
|
11
|
+
| **dq** | **Boolean** | | [optional] |
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'ftc_events_client'
|
17
|
+
|
18
|
+
instance = FtcEventsClient::ScheduleHybridModelTeamVersion2.new(
|
19
|
+
team_number: null,
|
20
|
+
station: null,
|
21
|
+
surrogate: null,
|
22
|
+
no_show: null,
|
23
|
+
dq: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# FtcEventsClient::ScheduleHybridModelVersion2
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **description** | **String** | | [optional] |
|
8
|
+
| **tournament_level** | **String** | | [optional] |
|
9
|
+
| **series** | **Integer** | | [optional] |
|
10
|
+
| **match_number** | **Integer** | | [optional] |
|
11
|
+
| **start_time** | **Time** | | [optional] |
|
12
|
+
| **actual_start_time** | **Time** | | [optional] |
|
13
|
+
| **post_result_time** | **Time** | | [optional] |
|
14
|
+
| **score_red_final** | **Integer** | | [optional] |
|
15
|
+
| **score_red_foul** | **Integer** | | [optional] |
|
16
|
+
| **score_red_auto** | **Integer** | | [optional] |
|
17
|
+
| **score_blue_final** | **Integer** | | [optional] |
|
18
|
+
| **score_blue_foul** | **Integer** | | [optional] |
|
19
|
+
| **score_blue_auto** | **Integer** | | [optional] |
|
20
|
+
| **teams** | [**Array<ScheduleHybridModelTeamVersion2>**](ScheduleHybridModelTeamVersion2.md) | | [optional] |
|
21
|
+
|
22
|
+
## Code Sample
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
require 'ftc_events_client'
|
26
|
+
|
27
|
+
instance = FtcEventsClient::ScheduleHybridModelVersion2.new(
|
28
|
+
description: null,
|
29
|
+
tournament_level: null,
|
30
|
+
series: null,
|
31
|
+
match_number: null,
|
32
|
+
start_time: null,
|
33
|
+
actual_start_time: null,
|
34
|
+
post_result_time: null,
|
35
|
+
score_red_final: null,
|
36
|
+
score_red_foul: null,
|
37
|
+
score_red_auto: null,
|
38
|
+
score_blue_final: null,
|
39
|
+
score_blue_foul: null,
|
40
|
+
score_blue_auto: null,
|
41
|
+
teams: null
|
42
|
+
)
|
43
|
+
```
|
44
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# FtcEventsClient::ScheduledMatchModelVersion2
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **description** | **String** | | [optional] |
|
8
|
+
| **field** | **String** | | [optional] |
|
9
|
+
| **tournament_level** | **String** | | [optional] |
|
10
|
+
| **start_time** | **Time** | | [optional] |
|
11
|
+
| **series** | **Integer** | | [optional] |
|
12
|
+
| **match_number** | **Integer** | | [optional] |
|
13
|
+
| **teams** | [**Array<ScheduledMatchTeamModelVersion2>**](ScheduledMatchTeamModelVersion2.md) | | [optional] |
|
14
|
+
| **modified_on** | **Time** | | [optional] |
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'ftc_events_client'
|
20
|
+
|
21
|
+
instance = FtcEventsClient::ScheduledMatchModelVersion2.new(
|
22
|
+
description: null,
|
23
|
+
field: null,
|
24
|
+
tournament_level: null,
|
25
|
+
start_time: null,
|
26
|
+
series: null,
|
27
|
+
match_number: null,
|
28
|
+
teams: null,
|
29
|
+
modified_on: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# FtcEventsClient::ScheduledMatchTeamModelVersion2
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **team_number** | **Integer** | | [optional] |
|
8
|
+
| **station** | **String** | | [optional] |
|
9
|
+
| **surrogate** | **Boolean** | | [optional] |
|
10
|
+
| **no_show** | **Boolean** | | [optional] |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'ftc_events_client'
|
16
|
+
|
17
|
+
instance = FtcEventsClient::ScheduledMatchTeamModelVersion2.new(
|
18
|
+
team_number: null,
|
19
|
+
station: null,
|
20
|
+
surrogate: null,
|
21
|
+
no_show: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,90 @@
|
|
1
|
+
# FtcEventsClient::ScoreDetailAllianceModel2020
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **adjust** | **Integer** | | [optional] |
|
8
|
+
| **dc_points** | **Integer** | | [optional] |
|
9
|
+
| **auto_points** | **Integer** | | [optional] |
|
10
|
+
| **dc_tower_low** | **Integer** | | [optional] |
|
11
|
+
| **dc_tower_mid** | **Integer** | | [optional] |
|
12
|
+
| **dc_tower_high** | **Integer** | | [optional] |
|
13
|
+
| **navigated1** | **Boolean** | | [optional] |
|
14
|
+
| **navigated2** | **Boolean** | | [optional] |
|
15
|
+
| **wobble_delivered1** | **Boolean** | | [optional] |
|
16
|
+
| **wobble_delivered2** | **Boolean** | | [optional] |
|
17
|
+
| **auto_tower_low** | **Integer** | | [optional] |
|
18
|
+
| **auto_tower_mid** | **Integer** | | [optional] |
|
19
|
+
| **auto_tower_high** | **Integer** | | [optional] |
|
20
|
+
| **auto_tower_points** | **Integer** | | [optional] |
|
21
|
+
| **auto_power_shot_left** | **Boolean** | | [optional] |
|
22
|
+
| **auto_power_shot_center** | **Boolean** | | [optional] |
|
23
|
+
| **auto_power_shot_right** | **Boolean** | | [optional] |
|
24
|
+
| **auto_power_shot_points** | **Integer** | | [optional] |
|
25
|
+
| **wobble_rings1** | **Integer** | | [optional] |
|
26
|
+
| **wobble_rings2** | **Integer** | | [optional] |
|
27
|
+
| **wobble_end1** | **Integer** | | [optional] |
|
28
|
+
| **wobble_end2** | **Integer** | | [optional] |
|
29
|
+
| **wobble_end_points** | **Integer** | | [optional] |
|
30
|
+
| **wobble_ring_points** | **Integer** | | [optional] |
|
31
|
+
| **auto_wobble_points** | **Integer** | | [optional] |
|
32
|
+
| **end_power_shot_left** | **Boolean** | | [optional] |
|
33
|
+
| **end_power_shot_center** | **Boolean** | | [optional] |
|
34
|
+
| **end_power_shot_right** | **Boolean** | | [optional] |
|
35
|
+
| **end_power_shot_points** | **Integer** | | [optional] |
|
36
|
+
| **penalty_points** | **Integer** | | [optional] |
|
37
|
+
| **major_penalties** | **Integer** | | [optional] |
|
38
|
+
| **minor_penalties** | **Integer** | | [optional] |
|
39
|
+
| **navigation_points** | **Integer** | | [optional] |
|
40
|
+
| **endgame_points** | **Integer** | | [optional] |
|
41
|
+
| **total_points** | **Integer** | | [optional] |
|
42
|
+
| **alliance** | **String** | | [optional] |
|
43
|
+
| **team** | **Integer** | | [optional] |
|
44
|
+
|
45
|
+
## Code Sample
|
46
|
+
|
47
|
+
```ruby
|
48
|
+
require 'ftc_events_client'
|
49
|
+
|
50
|
+
instance = FtcEventsClient::ScoreDetailAllianceModel2020.new(
|
51
|
+
adjust: null,
|
52
|
+
dc_points: null,
|
53
|
+
auto_points: null,
|
54
|
+
dc_tower_low: null,
|
55
|
+
dc_tower_mid: null,
|
56
|
+
dc_tower_high: null,
|
57
|
+
navigated1: null,
|
58
|
+
navigated2: null,
|
59
|
+
wobble_delivered1: null,
|
60
|
+
wobble_delivered2: null,
|
61
|
+
auto_tower_low: null,
|
62
|
+
auto_tower_mid: null,
|
63
|
+
auto_tower_high: null,
|
64
|
+
auto_tower_points: null,
|
65
|
+
auto_power_shot_left: null,
|
66
|
+
auto_power_shot_center: null,
|
67
|
+
auto_power_shot_right: null,
|
68
|
+
auto_power_shot_points: null,
|
69
|
+
wobble_rings1: null,
|
70
|
+
wobble_rings2: null,
|
71
|
+
wobble_end1: null,
|
72
|
+
wobble_end2: null,
|
73
|
+
wobble_end_points: null,
|
74
|
+
wobble_ring_points: null,
|
75
|
+
auto_wobble_points: null,
|
76
|
+
end_power_shot_left: null,
|
77
|
+
end_power_shot_center: null,
|
78
|
+
end_power_shot_right: null,
|
79
|
+
end_power_shot_points: null,
|
80
|
+
penalty_points: null,
|
81
|
+
major_penalties: null,
|
82
|
+
minor_penalties: null,
|
83
|
+
navigation_points: null,
|
84
|
+
endgame_points: null,
|
85
|
+
total_points: null,
|
86
|
+
alliance: null,
|
87
|
+
team: null
|
88
|
+
)
|
89
|
+
```
|
90
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FtcEventsClient::ScoreDetailModel2019
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **match_level** | [**TournamentLevel**](TournamentLevel.md) | | [optional] |
|
8
|
+
| **match_number** | **Integer** | | [optional] |
|
9
|
+
| **alliances** | [**Array<ScoreDetailModelAlliance2019>**](ScoreDetailModelAlliance2019.md) | | [optional] |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'ftc_events_client'
|
15
|
+
|
16
|
+
instance = FtcEventsClient::ScoreDetailModel2019.new(
|
17
|
+
match_level: null,
|
18
|
+
match_number: null,
|
19
|
+
alliances: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FtcEventsClient::ScoreDetailModel2020
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **match_level** | [**TournamentLevel**](TournamentLevel.md) | | [optional] |
|
8
|
+
| **match_number** | **Integer** | | [optional] |
|
9
|
+
| **alliances** | [**Array<ScoreDetailAllianceModel2020>**](ScoreDetailAllianceModel2020.md) | | [optional] |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'ftc_events_client'
|
15
|
+
|
16
|
+
instance = FtcEventsClient::ScoreDetailModel2020.new(
|
17
|
+
match_level: null,
|
18
|
+
match_number: null,
|
19
|
+
alliances: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# FtcEventsClient::ScoreDetailModelAlliance2019
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **alliance** | **String** | | [optional] |
|
8
|
+
| **robot1_navigated** | **Boolean** | | [optional] |
|
9
|
+
| **robot1_parked** | **Boolean** | | [optional] |
|
10
|
+
| **robot1_capstone_level** | **Integer** | | [optional] |
|
11
|
+
| **robot2_navigated** | **Boolean** | | [optional] |
|
12
|
+
| **robot2_parked** | **Boolean** | | [optional] |
|
13
|
+
| **robot2_capstone_level** | **Integer** | | [optional] |
|
14
|
+
| **auto_stones** | [**Array<Stone>**](Stone.md) | | [optional] |
|
15
|
+
| **auto_delivered** | **Integer** | | [optional] |
|
16
|
+
| **auto_returned** | **Integer** | | [optional] |
|
17
|
+
| **first_returned_is_skystone** | **Boolean** | | [optional] |
|
18
|
+
| **auto_placed** | **Integer** | | [optional] |
|
19
|
+
| **foundation_repositioned** | **Boolean** | | [optional] |
|
20
|
+
| **foundation_moved** | **Boolean** | | [optional] |
|
21
|
+
| **driver_controlled_delivered** | **Integer** | | [optional] |
|
22
|
+
| **driver_controlled_returned** | **Integer** | | [optional] |
|
23
|
+
| **driver_controlled_placed** | **Integer** | | [optional] |
|
24
|
+
| **tallest_skyscraper** | **Integer** | | [optional] |
|
25
|
+
| **auto_delivery_points** | **Integer** | | [optional] |
|
26
|
+
| **auto_placed_points** | **Integer** | | [optional] |
|
27
|
+
| **autonomous_points** | **Integer** | | [optional] |
|
28
|
+
| **repositioned_points** | **Integer** | | [optional] |
|
29
|
+
| **navigation_points** | **Integer** | | [optional] |
|
30
|
+
| **driver_controlled_delivery_points** | **Integer** | | [optional] |
|
31
|
+
| **driver_controlled_placed_points** | **Integer** | | [optional] |
|
32
|
+
| **skyscraper_bonus_points** | **Integer** | | [optional] |
|
33
|
+
| **capstone_points** | **Integer** | | [optional] |
|
34
|
+
| **driver_controlled_points** | **Integer** | | [optional] |
|
35
|
+
| **parking_points** | **Integer** | | [optional] |
|
36
|
+
| **end_game_points** | **Integer** | | [optional] |
|
37
|
+
| **minor_penalties** | **Integer** | | [optional] |
|
38
|
+
| **major_penalties** | **Integer** | | [optional] |
|
39
|
+
| **penalty_points** | **Integer** | | [optional] |
|
40
|
+
| **total_points** | **Integer** | | [optional] |
|
41
|
+
|
42
|
+
## Code Sample
|
43
|
+
|
44
|
+
```ruby
|
45
|
+
require 'ftc_events_client'
|
46
|
+
|
47
|
+
instance = FtcEventsClient::ScoreDetailModelAlliance2019.new(
|
48
|
+
alliance: null,
|
49
|
+
robot1_navigated: null,
|
50
|
+
robot1_parked: null,
|
51
|
+
robot1_capstone_level: null,
|
52
|
+
robot2_navigated: null,
|
53
|
+
robot2_parked: null,
|
54
|
+
robot2_capstone_level: null,
|
55
|
+
auto_stones: null,
|
56
|
+
auto_delivered: null,
|
57
|
+
auto_returned: null,
|
58
|
+
first_returned_is_skystone: null,
|
59
|
+
auto_placed: null,
|
60
|
+
foundation_repositioned: null,
|
61
|
+
foundation_moved: null,
|
62
|
+
driver_controlled_delivered: null,
|
63
|
+
driver_controlled_returned: null,
|
64
|
+
driver_controlled_placed: null,
|
65
|
+
tallest_skyscraper: null,
|
66
|
+
auto_delivery_points: null,
|
67
|
+
auto_placed_points: null,
|
68
|
+
autonomous_points: null,
|
69
|
+
repositioned_points: null,
|
70
|
+
navigation_points: null,
|
71
|
+
driver_controlled_delivery_points: null,
|
72
|
+
driver_controlled_placed_points: null,
|
73
|
+
skyscraper_bonus_points: null,
|
74
|
+
capstone_points: null,
|
75
|
+
driver_controlled_points: null,
|
76
|
+
parking_points: null,
|
77
|
+
end_game_points: null,
|
78
|
+
minor_penalties: null,
|
79
|
+
major_penalties: null,
|
80
|
+
penalty_points: null,
|
81
|
+
total_points: null
|
82
|
+
)
|
83
|
+
```
|
84
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# FtcEventsClient::ScoreDetailModelSinglePlayer2020
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **match_level** | [**TournamentLevel**](TournamentLevel.md) | | [optional] |
|
8
|
+
| **match_number** | **Integer** | | [optional] |
|
9
|
+
| **team_number** | **Integer** | | [optional] |
|
10
|
+
| **scores** | [**AllianceScore2020**](AllianceScore2020.md) | | [optional] |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'ftc_events_client'
|
16
|
+
|
17
|
+
instance = FtcEventsClient::ScoreDetailModelSinglePlayer2020.new(
|
18
|
+
match_level: null,
|
19
|
+
match_number: null,
|
20
|
+
team_number: null,
|
21
|
+
scores: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# FtcEventsClient::SeasonAwardListingsModel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **awards** | [**Array<SeasonAwardsModel>**](SeasonAwardsModel.md) | | [optional] |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ftc_events_client'
|
13
|
+
|
14
|
+
instance = FtcEventsClient::SeasonAwardListingsModel.new(
|
15
|
+
awards: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# FtcEventsClient::SeasonAwardsModel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **award_id** | **Integer** | | [optional] |
|
8
|
+
| **event_type** | **String** | | [optional] |
|
9
|
+
| **description** | **String** | | [optional] |
|
10
|
+
| **for_person** | **Boolean** | | [optional] |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'ftc_events_client'
|
16
|
+
|
17
|
+
instance = FtcEventsClient::SeasonAwardsModel.new(
|
18
|
+
award_id: null,
|
19
|
+
event_type: null,
|
20
|
+
description: null,
|
21
|
+
for_person: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,182 @@
|
|
1
|
+
# FtcEventsClient::SeasonDataApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**v20_season_events_get**](SeasonDataApi.md#v20_season_events_get) | **GET** /v2.0/{season}/events | Event Listings |
|
8
|
+
| [**v20_season_get**](SeasonDataApi.md#v20_season_get) | **GET** /v2.0/{season} | Season Summary |
|
9
|
+
| [**v20_season_teams_get**](SeasonDataApi.md#v20_season_teams_get) | **GET** /v2.0/{season}/teams | Team Listings |
|
10
|
+
|
11
|
+
|
12
|
+
## v20_season_events_get
|
13
|
+
|
14
|
+
> SeasonEventListingsModelVersion2 v20_season_events_get(season, opts)
|
15
|
+
|
16
|
+
Event Listings
|
17
|
+
|
18
|
+
The event listings API returns all FTC official regional events in a particular season. You can specify an `eventCode` if you would only like data about one specific event. If you specify an `eventCode` you cannot specify any other optional parameters. Alternately, you can specify a `teamNumber` to retrieve only the listings of events being attended by the particular team. If you specify a `teamNumber` you cannot specify an `eventCode`. The response for event listings contains a special field called divisionCode. For example, the FIRST Championship contains two Divisions. As an example of a response, the event listings for a Division will have a divisionCode that matches the FIRST Championship event code (as they are divisions of that event). This allows you to see the full structure of events, and how they relate to each other.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'ftc_events_client'
|
25
|
+
# setup authorization
|
26
|
+
FtcEventsClient.configure do |config|
|
27
|
+
# Configure HTTP basic authorization: basic
|
28
|
+
config.username = 'YOUR USERNAME'
|
29
|
+
config.password = 'YOUR PASSWORD'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = FtcEventsClient::SeasonDataApi.new
|
33
|
+
season = 56 # Integer | Numeric year from which the event listings are requested. Must be 4 digits
|
34
|
+
opts = {
|
35
|
+
event_code: '0', # String | Case insensitive alphanumeric `eventCode` of the event about which details are requested.
|
36
|
+
team_number: 0 # Integer | Numeric `teamNumber` of the team from which the attending event listings are requested.
|
37
|
+
}
|
38
|
+
|
39
|
+
begin
|
40
|
+
#Event Listings
|
41
|
+
result = api_instance.v20_season_events_get(season, opts)
|
42
|
+
p result
|
43
|
+
rescue FtcEventsClient::ApiError => e
|
44
|
+
puts "Exception when calling SeasonDataApi->v20_season_events_get: #{e}"
|
45
|
+
end
|
46
|
+
```
|
47
|
+
|
48
|
+
### Parameters
|
49
|
+
|
50
|
+
| Name | Type | Description | Notes |
|
51
|
+
| ---- | ---- | ----------- | ----- |
|
52
|
+
| **season** | **Integer** | Numeric year from which the event listings are requested. Must be 4 digits | |
|
53
|
+
| **event_code** | **String** | Case insensitive alphanumeric `eventCode` of the event about which details are requested. | [optional][default to '0'] |
|
54
|
+
| **team_number** | **Integer** | Numeric `teamNumber` of the team from which the attending event listings are requested. | [optional][default to 0] |
|
55
|
+
|
56
|
+
### Return type
|
57
|
+
|
58
|
+
[**SeasonEventListingsModelVersion2**](SeasonEventListingsModelVersion2.md)
|
59
|
+
|
60
|
+
### Authorization
|
61
|
+
|
62
|
+
[basic](../README.md#basic)
|
63
|
+
|
64
|
+
### HTTP request headers
|
65
|
+
|
66
|
+
- **Content-Type**: Not defined
|
67
|
+
- **Accept**: application/json
|
68
|
+
|
69
|
+
|
70
|
+
## v20_season_get
|
71
|
+
|
72
|
+
> SeasonSummaryModelVersion2 v20_season_get(season)
|
73
|
+
|
74
|
+
Season Summary
|
75
|
+
|
76
|
+
The season summary API returns a high level glance of a particular FTC season.
|
77
|
+
|
78
|
+
### Example
|
79
|
+
|
80
|
+
```ruby
|
81
|
+
# load the gem
|
82
|
+
require 'ftc_events_client'
|
83
|
+
# setup authorization
|
84
|
+
FtcEventsClient.configure do |config|
|
85
|
+
# Configure HTTP basic authorization: basic
|
86
|
+
config.username = 'YOUR USERNAME'
|
87
|
+
config.password = 'YOUR PASSWORD'
|
88
|
+
end
|
89
|
+
|
90
|
+
api_instance = FtcEventsClient::SeasonDataApi.new
|
91
|
+
season = 56 # Integer | Numeric year of the event from which the season summary is requested. Must be 4 digits.
|
92
|
+
|
93
|
+
begin
|
94
|
+
#Season Summary
|
95
|
+
result = api_instance.v20_season_get(season)
|
96
|
+
p result
|
97
|
+
rescue FtcEventsClient::ApiError => e
|
98
|
+
puts "Exception when calling SeasonDataApi->v20_season_get: #{e}"
|
99
|
+
end
|
100
|
+
```
|
101
|
+
|
102
|
+
### Parameters
|
103
|
+
|
104
|
+
| Name | Type | Description | Notes |
|
105
|
+
| ---- | ---- | ----------- | ----- |
|
106
|
+
| **season** | **Integer** | Numeric year of the event from which the season summary is requested. Must be 4 digits. | |
|
107
|
+
|
108
|
+
### Return type
|
109
|
+
|
110
|
+
[**SeasonSummaryModelVersion2**](SeasonSummaryModelVersion2.md)
|
111
|
+
|
112
|
+
### Authorization
|
113
|
+
|
114
|
+
[basic](../README.md#basic)
|
115
|
+
|
116
|
+
### HTTP request headers
|
117
|
+
|
118
|
+
- **Content-Type**: Not defined
|
119
|
+
- **Accept**: application/json
|
120
|
+
|
121
|
+
|
122
|
+
## v20_season_teams_get
|
123
|
+
|
124
|
+
> SeasonTeamListingsModelVersion2 v20_season_teams_get(season, opts)
|
125
|
+
|
126
|
+
Team Listings
|
127
|
+
|
128
|
+
The team listings API returns all FTC official teams in a particular season. If specified, the `teamNumber` parameter will return only one result with the details of the requested `teamNumber`. Alternately, the `eventCode` parameter allows sorting of the team list to only those teams attending a particular event in the particular season. If you specify a teamNumber parameter, you cannot additionally specify an `eventCode` and/or `state` in the same request, or you will receive an HTTP 501. If you specify the `state` parameter, it should be the full legal name of the US state or international state/prov, such as New Hampshire or Ontario. Values on this endpoint are \"pass through\" values from the TIMS registration system. As such, if the team does not specify a value for a field, it may be presented in the API as null.
|
129
|
+
|
130
|
+
### Example
|
131
|
+
|
132
|
+
```ruby
|
133
|
+
# load the gem
|
134
|
+
require 'ftc_events_client'
|
135
|
+
# setup authorization
|
136
|
+
FtcEventsClient.configure do |config|
|
137
|
+
# Configure HTTP basic authorization: basic
|
138
|
+
config.username = 'YOUR USERNAME'
|
139
|
+
config.password = 'YOUR PASSWORD'
|
140
|
+
end
|
141
|
+
|
142
|
+
api_instance = FtcEventsClient::SeasonDataApi.new
|
143
|
+
season = 56 # Integer | Numeric year from which the team listings are requested. Must be 4 digits.
|
144
|
+
opts = {
|
145
|
+
team_number: 0, # Integer | Numeric `teamNumber` of the team about which information is requested. Must be 1 to 5 digits.
|
146
|
+
event_code: '0', # String | Case insensitive alphanumeric `eventCode` of the event from which details are requested.
|
147
|
+
state: '', # String | Full legal name of the US state or international state/prov
|
148
|
+
page: 1 # Integer | Numeric page of results to return.
|
149
|
+
}
|
150
|
+
|
151
|
+
begin
|
152
|
+
#Team Listings
|
153
|
+
result = api_instance.v20_season_teams_get(season, opts)
|
154
|
+
p result
|
155
|
+
rescue FtcEventsClient::ApiError => e
|
156
|
+
puts "Exception when calling SeasonDataApi->v20_season_teams_get: #{e}"
|
157
|
+
end
|
158
|
+
```
|
159
|
+
|
160
|
+
### Parameters
|
161
|
+
|
162
|
+
| Name | Type | Description | Notes |
|
163
|
+
| ---- | ---- | ----------- | ----- |
|
164
|
+
| **season** | **Integer** | Numeric year from which the team listings are requested. Must be 4 digits. | |
|
165
|
+
| **team_number** | **Integer** | Numeric `teamNumber` of the team about which information is requested. Must be 1 to 5 digits. | [optional][default to 0] |
|
166
|
+
| **event_code** | **String** | Case insensitive alphanumeric `eventCode` of the event from which details are requested. | [optional][default to '0'] |
|
167
|
+
| **state** | **String** | Full legal name of the US state or international state/prov | [optional][default to ''] |
|
168
|
+
| **page** | **Integer** | Numeric page of results to return. | [optional][default to 1] |
|
169
|
+
|
170
|
+
### Return type
|
171
|
+
|
172
|
+
[**SeasonTeamListingsModelVersion2**](SeasonTeamListingsModelVersion2.md)
|
173
|
+
|
174
|
+
### Authorization
|
175
|
+
|
176
|
+
[basic](../README.md#basic)
|
177
|
+
|
178
|
+
### HTTP request headers
|
179
|
+
|
180
|
+
- **Content-Type**: Not defined
|
181
|
+
- **Accept**: application/json
|
182
|
+
|