stormgate_world 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +141 -0
- data/Rakefile +10 -0
- data/docs/ErrorResponse.md +26 -0
- data/docs/Leaderboard.md +15 -0
- data/docs/LeaderboardDumpResponse.md +22 -0
- data/docs/LeaderboardEntriesApi.md +70 -0
- data/docs/LeaderboardEntryHistory.md +18 -0
- data/docs/LeaderboardEntryHistoryEntry.md +24 -0
- data/docs/LeaderboardEntryResponse.md +52 -0
- data/docs/LeaderboardOrder.md +15 -0
- data/docs/LeaderboardResponse.md +24 -0
- data/docs/LeaderboardsApi.md +140 -0
- data/docs/MatchParticipantPlayerLeaderboardEntryResponse.md +32 -0
- data/docs/MatchParticipantPlayerResponse.md +22 -0
- data/docs/MatchParticipantResponse.md +38 -0
- data/docs/MatchResponse.md +34 -0
- data/docs/MatchResult.md +15 -0
- data/docs/MatchState.md +15 -0
- data/docs/MatchesApi.md +76 -0
- data/docs/MatchesResponse.md +24 -0
- data/docs/PlayerActivityStats.md +24 -0
- data/docs/PlayerActivityStatsRace.md +20 -0
- data/docs/PlayerMatchesResponse.md +22 -0
- data/docs/PlayerMatchupsStats.md +20 -0
- data/docs/PlayerMatchupsStatsEntry.md +34 -0
- data/docs/PlayerMatchupsStatsMatchup.md +24 -0
- data/docs/PlayerOpponentsStats.md +22 -0
- data/docs/PlayerOpponentsStatsOpponent.md +34 -0
- data/docs/PlayerPreferences.md +18 -0
- data/docs/PlayerResponse.md +28 -0
- data/docs/PlayerStatsEntry.md +36 -0
- data/docs/PlayerStatsEntryAggregated.md +34 -0
- data/docs/PlayerStatsEntryNumBreakdown.md +24 -0
- data/docs/PlayersApi.md +531 -0
- data/docs/ProfilePrivacy.md +15 -0
- data/docs/Race.md +15 -0
- data/docs/StatisticsApi.md +72 -0
- data/docs/StatsByTime.md +30 -0
- data/docs/StatsByTimeEntry.md +22 -0
- data/docs/StatsByTimeHistoryPoint.md +34 -0
- data/docs/StatsByTimeMatchLength.md +20 -0
- data/docs/StatsByTimeMatchLengthEntry.md +28 -0
- data/git_push.sh +57 -0
- data/lib/stormgate_world/api/leaderboard_entries_api.rb +81 -0
- data/lib/stormgate_world/api/leaderboards_api.rb +151 -0
- data/lib/stormgate_world/api/matches_api.rb +92 -0
- data/lib/stormgate_world/api/players_api.rb +512 -0
- data/lib/stormgate_world/api/statistics_api.rb +78 -0
- data/lib/stormgate_world/api_client.rb +394 -0
- data/lib/stormgate_world/api_error.rb +58 -0
- data/lib/stormgate_world/configuration.rb +298 -0
- data/lib/stormgate_world/models/error_response.rb +289 -0
- data/lib/stormgate_world/models/leaderboard.rb +41 -0
- data/lib/stormgate_world/models/leaderboard_dump_response.rb +274 -0
- data/lib/stormgate_world/models/leaderboard_entry_history.rb +223 -0
- data/lib/stormgate_world/models/leaderboard_entry_history_entry.rb +257 -0
- data/lib/stormgate_world/models/leaderboard_entry_response.rb +461 -0
- data/lib/stormgate_world/models/leaderboard_order.rb +40 -0
- data/lib/stormgate_world/models/leaderboard_response.rb +328 -0
- data/lib/stormgate_world/models/match_participant_player_leaderboard_entry_response.rb +309 -0
- data/lib/stormgate_world/models/match_participant_player_response.rb +241 -0
- data/lib/stormgate_world/models/match_participant_response.rb +361 -0
- data/lib/stormgate_world/models/match_response.rb +355 -0
- data/lib/stormgate_world/models/match_result.rb +41 -0
- data/lib/stormgate_world/models/match_state.rb +40 -0
- data/lib/stormgate_world/models/matches_response.rb +328 -0
- data/lib/stormgate_world/models/player_activity_stats.rb +267 -0
- data/lib/stormgate_world/models/player_activity_stats_race.rb +233 -0
- data/lib/stormgate_world/models/player_matches_response.rb +293 -0
- data/lib/stormgate_world/models/player_matchups_stats.rb +239 -0
- data/lib/stormgate_world/models/player_matchups_stats_entry.rb +337 -0
- data/lib/stormgate_world/models/player_matchups_stats_matchup.rb +293 -0
- data/lib/stormgate_world/models/player_opponents_stats.rb +274 -0
- data/lib/stormgate_world/models/player_opponents_stats_opponent.rb +343 -0
- data/lib/stormgate_world/models/player_preferences.rb +237 -0
- data/lib/stormgate_world/models/player_response.rb +285 -0
- data/lib/stormgate_world/models/player_stats_entry.rb +369 -0
- data/lib/stormgate_world/models/player_stats_entry_aggregated.rb +343 -0
- data/lib/stormgate_world/models/player_stats_entry_num_breakdown.rb +245 -0
- data/lib/stormgate_world/models/profile_privacy.rb +40 -0
- data/lib/stormgate_world/models/race.rb +41 -0
- data/lib/stormgate_world/models/stats_by_time.rb +332 -0
- data/lib/stormgate_world/models/stats_by_time_entry.rb +277 -0
- data/lib/stormgate_world/models/stats_by_time_history_point.rb +303 -0
- data/lib/stormgate_world/models/stats_by_time_match_length.rb +239 -0
- data/lib/stormgate_world/models/stats_by_time_match_length_entry.rb +265 -0
- data/lib/stormgate_world/version.rb +15 -0
- data/lib/stormgate_world.rb +79 -0
- data/openapitools.json +7 -0
- data/pkg/stormgate_world_client-1.0.0.gem +0 -0
- data/spec/api/leaderboard_entries_api_spec.rb +45 -0
- data/spec/api/leaderboards_api_spec.rb +58 -0
- data/spec/api/matches_api_spec.rb +47 -0
- data/spec/api/players_api_spec.rb +117 -0
- data/spec/api/statistics_api_spec.rb +45 -0
- data/spec/models/error_response_spec.rb +60 -0
- data/spec/models/leaderboard_dump_response_spec.rb +48 -0
- data/spec/models/leaderboard_entry_history_entry_spec.rb +54 -0
- data/spec/models/leaderboard_entry_history_spec.rb +36 -0
- data/spec/models/leaderboard_entry_response_spec.rb +138 -0
- data/spec/models/leaderboard_order_spec.rb +30 -0
- data/spec/models/leaderboard_response_spec.rb +54 -0
- data/spec/models/leaderboard_spec.rb +30 -0
- data/spec/models/match_participant_player_leaderboard_entry_response_spec.rb +78 -0
- data/spec/models/match_participant_player_response_spec.rb +48 -0
- data/spec/models/match_participant_response_spec.rb +96 -0
- data/spec/models/match_response_spec.rb +84 -0
- data/spec/models/match_result_spec.rb +30 -0
- data/spec/models/match_state_spec.rb +30 -0
- data/spec/models/matches_response_spec.rb +54 -0
- data/spec/models/player_activity_stats_race_spec.rb +42 -0
- data/spec/models/player_activity_stats_spec.rb +54 -0
- data/spec/models/player_matches_response_spec.rb +48 -0
- data/spec/models/player_matchups_stats_entry_spec.rb +84 -0
- data/spec/models/player_matchups_stats_matchup_spec.rb +54 -0
- data/spec/models/player_matchups_stats_spec.rb +42 -0
- data/spec/models/player_opponents_stats_opponent_spec.rb +84 -0
- data/spec/models/player_opponents_stats_spec.rb +48 -0
- data/spec/models/player_preferences_spec.rb +36 -0
- data/spec/models/player_response_spec.rb +66 -0
- data/spec/models/player_stats_entry_aggregated_spec.rb +84 -0
- data/spec/models/player_stats_entry_num_breakdown_spec.rb +54 -0
- data/spec/models/player_stats_entry_spec.rb +90 -0
- data/spec/models/profile_privacy_spec.rb +30 -0
- data/spec/models/race_spec.rb +30 -0
- data/spec/models/stats_by_time_entry_spec.rb +48 -0
- data/spec/models/stats_by_time_history_point_spec.rb +84 -0
- data/spec/models/stats_by_time_match_length_entry_spec.rb +66 -0
- data/spec/models/stats_by_time_match_length_spec.rb +42 -0
- data/spec/models/stats_by_time_spec.rb +72 -0
- data/spec/spec_helper.rb +111 -0
- data/stormgate_world.gemspec +40 -0
- data/stormgate_world.json +1 -0
- data/update.sh +4 -0
- metadata +260 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
# StormgateWorld::MatchResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **cached_at** | **Time** | | |
|
8
|
+
| **match_id** | **String** | | |
|
9
|
+
| **state** | [**MatchState**](MatchState.md) | | [optional] |
|
10
|
+
| **leaderboard** | [**Leaderboard**](Leaderboard.md) | | |
|
11
|
+
| **server** | **String** | | |
|
12
|
+
| **players** | [**Array<MatchParticipantResponse>**](MatchParticipantResponse.md) | | |
|
13
|
+
| **created_at** | **Time** | | |
|
14
|
+
| **ended_at** | **Time** | | [optional] |
|
15
|
+
| **duration** | **Integer** | | [optional] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'stormgate_world'
|
21
|
+
|
22
|
+
instance = StormgateWorld::MatchResponse.new(
|
23
|
+
cached_at: null,
|
24
|
+
match_id: null,
|
25
|
+
state: null,
|
26
|
+
leaderboard: null,
|
27
|
+
server: null,
|
28
|
+
players: null,
|
29
|
+
created_at: null,
|
30
|
+
ended_at: null,
|
31
|
+
duration: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
data/docs/MatchResult.md
ADDED
data/docs/MatchState.md
ADDED
data/docs/MatchesApi.md
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
# StormgateWorld::MatchesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.stormgateworld.com*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**get_matches**](MatchesApi.md#get_matches) | **GET** /v0/matches | |
|
8
|
+
|
9
|
+
|
10
|
+
## get_matches
|
11
|
+
|
12
|
+
> <MatchesResponse> get_matches(opts)
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
### Examples
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'time'
|
20
|
+
require 'stormgate_world'
|
21
|
+
|
22
|
+
api_instance = StormgateWorld::MatchesApi.new
|
23
|
+
opts = {
|
24
|
+
page: 789, # Integer |
|
25
|
+
count: 789, # Integer |
|
26
|
+
state: StormgateWorld::MatchState::ONGOING # MatchState |
|
27
|
+
}
|
28
|
+
|
29
|
+
begin
|
30
|
+
|
31
|
+
result = api_instance.get_matches(opts)
|
32
|
+
p result
|
33
|
+
rescue StormgateWorld::ApiError => e
|
34
|
+
puts "Error when calling MatchesApi->get_matches: #{e}"
|
35
|
+
end
|
36
|
+
```
|
37
|
+
|
38
|
+
#### Using the get_matches_with_http_info variant
|
39
|
+
|
40
|
+
This returns an Array which contains the response data, status code and headers.
|
41
|
+
|
42
|
+
> <Array(<MatchesResponse>, Integer, Hash)> get_matches_with_http_info(opts)
|
43
|
+
|
44
|
+
```ruby
|
45
|
+
begin
|
46
|
+
|
47
|
+
data, status_code, headers = api_instance.get_matches_with_http_info(opts)
|
48
|
+
p status_code # => 2xx
|
49
|
+
p headers # => { ... }
|
50
|
+
p data # => <MatchesResponse>
|
51
|
+
rescue StormgateWorld::ApiError => e
|
52
|
+
puts "Error when calling MatchesApi->get_matches_with_http_info: #{e}"
|
53
|
+
end
|
54
|
+
```
|
55
|
+
|
56
|
+
### Parameters
|
57
|
+
|
58
|
+
| Name | Type | Description | Notes |
|
59
|
+
| ---- | ---- | ----------- | ----- |
|
60
|
+
| **page** | **Integer** | | [optional] |
|
61
|
+
| **count** | **Integer** | | [optional] |
|
62
|
+
| **state** | [**MatchState**](.md) | | [optional] |
|
63
|
+
|
64
|
+
### Return type
|
65
|
+
|
66
|
+
[**MatchesResponse**](MatchesResponse.md)
|
67
|
+
|
68
|
+
### Authorization
|
69
|
+
|
70
|
+
No authorization required
|
71
|
+
|
72
|
+
### HTTP request headers
|
73
|
+
|
74
|
+
- **Content-Type**: Not defined
|
75
|
+
- **Accept**: application/json
|
76
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# StormgateWorld::MatchesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **count** | **Integer** | | |
|
8
|
+
| **page** | **Integer** | | |
|
9
|
+
| **total** | **Integer** | | |
|
10
|
+
| **matches** | [**Array<MatchResponse>**](MatchResponse.md) | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'stormgate_world'
|
16
|
+
|
17
|
+
instance = StormgateWorld::MatchesResponse.new(
|
18
|
+
count: null,
|
19
|
+
page: null,
|
20
|
+
total: null,
|
21
|
+
matches: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# StormgateWorld::PlayerActivityStats
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **cached_at** | **Time** | | |
|
8
|
+
| **aggregated** | [**PlayerStatsEntryAggregated**](PlayerStatsEntryAggregated.md) | | [optional] |
|
9
|
+
| **history** | [**Array<PlayerStatsEntry>**](PlayerStatsEntry.md) | | |
|
10
|
+
| **races** | [**Array<PlayerActivityStatsRace>**](PlayerActivityStatsRace.md) | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'stormgate_world'
|
16
|
+
|
17
|
+
instance = StormgateWorld::PlayerActivityStats.new(
|
18
|
+
cached_at: null,
|
19
|
+
aggregated: null,
|
20
|
+
history: null,
|
21
|
+
races: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# StormgateWorld::PlayerActivityStatsRace
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **aggregated** | [**PlayerStatsEntry**](PlayerStatsEntry.md) | | [optional] |
|
8
|
+
| **history** | [**Array<PlayerStatsEntry>**](PlayerStatsEntry.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'stormgate_world'
|
14
|
+
|
15
|
+
instance = StormgateWorld::PlayerActivityStatsRace.new(
|
16
|
+
aggregated: null,
|
17
|
+
history: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# StormgateWorld::PlayerMatchesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **count** | **Integer** | | |
|
8
|
+
| **page** | **Integer** | | |
|
9
|
+
| **matches** | [**Array<MatchResponse>**](MatchResponse.md) | | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'stormgate_world'
|
15
|
+
|
16
|
+
instance = StormgateWorld::PlayerMatchesResponse.new(
|
17
|
+
count: null,
|
18
|
+
page: null,
|
19
|
+
matches: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# StormgateWorld::PlayerMatchupsStats
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **cached_at** | **Time** | | |
|
8
|
+
| **matchups** | [**Array<PlayerMatchupsStatsMatchup>**](PlayerMatchupsStatsMatchup.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'stormgate_world'
|
14
|
+
|
15
|
+
instance = StormgateWorld::PlayerMatchupsStats.new(
|
16
|
+
cached_at: null,
|
17
|
+
matchups: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# StormgateWorld::PlayerMatchupsStatsEntry
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **match_length_range** | **String** | | [optional] |
|
8
|
+
| **matches_count** | **Integer** | | |
|
9
|
+
| **wins_count** | **Integer** | | |
|
10
|
+
| **losses_count** | **Integer** | | |
|
11
|
+
| **wins** | **Integer** | | |
|
12
|
+
| **losses** | **Integer** | | |
|
13
|
+
| **ties** | **Integer** | | |
|
14
|
+
| **win_rate** | **Float** | | [optional] |
|
15
|
+
| **match_length** | [**PlayerStatsEntryNumBreakdown**](PlayerStatsEntryNumBreakdown.md) | | |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'stormgate_world'
|
21
|
+
|
22
|
+
instance = StormgateWorld::PlayerMatchupsStatsEntry.new(
|
23
|
+
match_length_range: null,
|
24
|
+
matches_count: null,
|
25
|
+
wins_count: null,
|
26
|
+
losses_count: null,
|
27
|
+
wins: null,
|
28
|
+
losses: null,
|
29
|
+
ties: null,
|
30
|
+
win_rate: null,
|
31
|
+
match_length: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# StormgateWorld::PlayerMatchupsStatsMatchup
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **race** | [**Race**](Race.md) | | |
|
8
|
+
| **opponent_race** | [**Race**](Race.md) | | |
|
9
|
+
| **aggregated** | [**PlayerMatchupsStatsEntry**](PlayerMatchupsStatsEntry.md) | | |
|
10
|
+
| **match_length** | [**Array<PlayerMatchupsStatsEntry>**](PlayerMatchupsStatsEntry.md) | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'stormgate_world'
|
16
|
+
|
17
|
+
instance = StormgateWorld::PlayerMatchupsStatsMatchup.new(
|
18
|
+
race: null,
|
19
|
+
opponent_race: null,
|
20
|
+
aggregated: null,
|
21
|
+
match_length: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# StormgateWorld::PlayerOpponentsStats
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **cached_at** | **Time** | | |
|
8
|
+
| **count** | **Integer** | | |
|
9
|
+
| **opponents** | [**Array<PlayerOpponentsStatsOpponent>**](PlayerOpponentsStatsOpponent.md) | | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'stormgate_world'
|
15
|
+
|
16
|
+
instance = StormgateWorld::PlayerOpponentsStats.new(
|
17
|
+
cached_at: null,
|
18
|
+
count: null,
|
19
|
+
opponents: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# StormgateWorld::PlayerOpponentsStatsOpponent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **player** | [**MatchParticipantPlayerResponse**](MatchParticipantPlayerResponse.md) | | |
|
8
|
+
| **matches_count** | **Integer** | | |
|
9
|
+
| **wins_count** | **Integer** | | |
|
10
|
+
| **losses_count** | **Integer** | | |
|
11
|
+
| **wins** | **Integer** | | |
|
12
|
+
| **losses** | **Integer** | | |
|
13
|
+
| **ties** | **Integer** | | |
|
14
|
+
| **win_rate** | **Float** | | [optional] |
|
15
|
+
| **match_length** | [**PlayerStatsEntryNumBreakdown**](PlayerStatsEntryNumBreakdown.md) | | |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'stormgate_world'
|
21
|
+
|
22
|
+
instance = StormgateWorld::PlayerOpponentsStatsOpponent.new(
|
23
|
+
player: null,
|
24
|
+
matches_count: null,
|
25
|
+
wins_count: null,
|
26
|
+
losses_count: null,
|
27
|
+
wins: null,
|
28
|
+
losses: null,
|
29
|
+
ties: null,
|
30
|
+
win_rate: null,
|
31
|
+
match_length: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# StormgateWorld::PlayerPreferences
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **privacy_profile** | [**ProfilePrivacy**](ProfilePrivacy.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'stormgate_world'
|
13
|
+
|
14
|
+
instance = StormgateWorld::PlayerPreferences.new(
|
15
|
+
privacy_profile: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# StormgateWorld::PlayerResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | |
|
8
|
+
| **anonymous** | **Boolean** | | |
|
9
|
+
| **nickname** | **String** | | [optional] |
|
10
|
+
| **nickname_discriminator** | **String** | | [optional] |
|
11
|
+
| **leaderboard_entries** | [**Array<LeaderboardEntryResponse>**](LeaderboardEntryResponse.md) | | |
|
12
|
+
| **last_match_ended_at** | **Time** | | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'stormgate_world'
|
18
|
+
|
19
|
+
instance = StormgateWorld::PlayerResponse.new(
|
20
|
+
id: null,
|
21
|
+
anonymous: null,
|
22
|
+
nickname: null,
|
23
|
+
nickname_discriminator: null,
|
24
|
+
leaderboard_entries: null,
|
25
|
+
last_match_ended_at: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# StormgateWorld::PlayerStatsEntry
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **date** | **Date** | | [optional] |
|
8
|
+
| **race** | [**Race**](Race.md) | | [optional] |
|
9
|
+
| **matches** | **Integer** | | |
|
10
|
+
| **wins** | **Integer** | | |
|
11
|
+
| **losses** | **Integer** | | |
|
12
|
+
| **ties** | **Integer** | | |
|
13
|
+
| **win_rate** | **Float** | | [optional] |
|
14
|
+
| **mmr** | [**PlayerStatsEntryNumBreakdown**](PlayerStatsEntryNumBreakdown.md) | | |
|
15
|
+
| **points** | [**PlayerStatsEntryNumBreakdown**](PlayerStatsEntryNumBreakdown.md) | | |
|
16
|
+
| **match_length** | [**PlayerStatsEntryNumBreakdown**](PlayerStatsEntryNumBreakdown.md) | | |
|
17
|
+
|
18
|
+
## Example
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'stormgate_world'
|
22
|
+
|
23
|
+
instance = StormgateWorld::PlayerStatsEntry.new(
|
24
|
+
date: null,
|
25
|
+
race: null,
|
26
|
+
matches: null,
|
27
|
+
wins: null,
|
28
|
+
losses: null,
|
29
|
+
ties: null,
|
30
|
+
win_rate: null,
|
31
|
+
mmr: null,
|
32
|
+
points: null,
|
33
|
+
match_length: null
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# StormgateWorld::PlayerStatsEntryAggregated
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **matches** | **Integer** | | |
|
8
|
+
| **matches_per_day** | [**PlayerStatsEntryNumBreakdown**](PlayerStatsEntryNumBreakdown.md) | | |
|
9
|
+
| **wins** | **Integer** | | |
|
10
|
+
| **losses** | **Integer** | | |
|
11
|
+
| **ties** | **Integer** | | |
|
12
|
+
| **win_rate** | **Float** | | [optional] |
|
13
|
+
| **mmr** | [**PlayerStatsEntryNumBreakdown**](PlayerStatsEntryNumBreakdown.md) | | |
|
14
|
+
| **points** | [**PlayerStatsEntryNumBreakdown**](PlayerStatsEntryNumBreakdown.md) | | |
|
15
|
+
| **match_length** | [**PlayerStatsEntryNumBreakdown**](PlayerStatsEntryNumBreakdown.md) | | |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'stormgate_world'
|
21
|
+
|
22
|
+
instance = StormgateWorld::PlayerStatsEntryAggregated.new(
|
23
|
+
matches: null,
|
24
|
+
matches_per_day: null,
|
25
|
+
wins: null,
|
26
|
+
losses: null,
|
27
|
+
ties: null,
|
28
|
+
win_rate: null,
|
29
|
+
mmr: null,
|
30
|
+
points: null,
|
31
|
+
match_length: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# StormgateWorld::PlayerStatsEntryNumBreakdown
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **max** | **Float** | | [optional] |
|
8
|
+
| **min** | **Float** | | [optional] |
|
9
|
+
| **median** | **Float** | | [optional] |
|
10
|
+
| **average** | **Float** | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'stormgate_world'
|
16
|
+
|
17
|
+
instance = StormgateWorld::PlayerStatsEntryNumBreakdown.new(
|
18
|
+
max: null,
|
19
|
+
min: null,
|
20
|
+
median: null,
|
21
|
+
average: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|