stormgate_world 1.0.0 → 1.1.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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +73 -0
  3. data/README.md +20 -5
  4. data/docs/ActivityStatistics.md +24 -0
  5. data/docs/ActivityStatisticsActivity.md +20 -0
  6. data/docs/ActivityStatisticsEntry.md +24 -0
  7. data/docs/Aggregation.md +15 -0
  8. data/docs/CountriesStatistics.md +24 -0
  9. data/docs/CountriesStatisticsEntry.md +22 -0
  10. data/docs/DumpFormat.md +15 -0
  11. data/docs/LeaderboardEntriesApi.md +10 -4
  12. data/docs/LeaderboardEntryHistory.md +7 -1
  13. data/docs/LeaderboardEntryHistoryRow.md +22 -0
  14. data/docs/LeaderboardEntryResponse.md +3 -1
  15. data/docs/LeaderboardsApi.md +10 -5
  16. data/docs/League.md +15 -0
  17. data/docs/MatchParticipantPlayerLeaderboardEntryResponse.md +1 -1
  18. data/docs/PlayerMatchesResponse.md +2 -0
  19. data/docs/PlayerResponse.md +5 -1
  20. data/docs/PlayersApi.md +14 -146
  21. data/docs/Resolution.md +15 -0
  22. data/docs/ServersStatistics.md +24 -0
  23. data/docs/ServersStatisticsEntry.md +22 -0
  24. data/docs/StatisticsApi.md +205 -2
  25. data/docs/StatsByTime.md +1 -1
  26. data/lib/stormgate_world/api/leaderboard_entries_api.rb +6 -0
  27. data/lib/stormgate_world/api/leaderboards_api.rb +3 -0
  28. data/lib/stormgate_world/api/players_api.rb +20 -129
  29. data/lib/stormgate_world/api/statistics_api.rb +186 -2
  30. data/lib/stormgate_world/models/activity_statistics.rb +269 -0
  31. data/lib/stormgate_world/models/activity_statistics_activity.rb +239 -0
  32. data/lib/stormgate_world/models/activity_statistics_entry.rb +263 -0
  33. data/lib/stormgate_world/models/aggregation.rb +41 -0
  34. data/lib/stormgate_world/models/countries_statistics.rb +271 -0
  35. data/lib/stormgate_world/models/countries_statistics_entry.rb +241 -0
  36. data/lib/stormgate_world/models/dump_format.rb +40 -0
  37. data/lib/stormgate_world/models/leaderboard_entry_history.rb +72 -2
  38. data/lib/stormgate_world/models/leaderboard_entry_history_row.rb +241 -0
  39. data/lib/stormgate_world/models/leaderboard_entry_response.rb +12 -2
  40. data/lib/stormgate_world/models/league.rb +45 -0
  41. data/lib/stormgate_world/models/match_participant_player_leaderboard_entry_response.rb +23 -1
  42. data/lib/stormgate_world/models/player_matches_response.rb +36 -1
  43. data/lib/stormgate_world/models/player_response.rb +25 -5
  44. data/lib/stormgate_world/models/race.rb +1 -2
  45. data/lib/stormgate_world/models/resolution.rb +42 -0
  46. data/lib/stormgate_world/models/servers_statistics.rb +271 -0
  47. data/lib/stormgate_world/models/servers_statistics_entry.rb +253 -0
  48. data/lib/stormgate_world/models/stats_by_time.rb +23 -1
  49. data/lib/stormgate_world/version.rb +1 -1
  50. data/lib/stormgate_world.rb +12 -2
  51. data/pkg/stormgate_world-1.0.0.gem +0 -0
  52. data/spec/models/activity_statistics_activity_spec.rb +42 -0
  53. data/spec/models/activity_statistics_entry_spec.rb +54 -0
  54. data/spec/models/activity_statistics_spec.rb +54 -0
  55. data/spec/models/aggregation_spec.rb +30 -0
  56. data/spec/models/countries_statistics_entry_spec.rb +48 -0
  57. data/spec/models/countries_statistics_spec.rb +54 -0
  58. data/spec/models/dump_format_spec.rb +30 -0
  59. data/spec/models/leaderboard_entry_history_row_spec.rb +48 -0
  60. data/spec/models/league_spec.rb +30 -0
  61. data/spec/models/resolution_spec.rb +30 -0
  62. data/spec/models/servers_statistics_entry_spec.rb +48 -0
  63. data/spec/models/servers_statistics_spec.rb +54 -0
  64. data/stormgate_world.json +1 -1
  65. metadata +52 -2
data/docs/PlayersApi.md CHANGED
@@ -7,11 +7,9 @@ All URIs are relative to *https://api.stormgateworld.com*
7
7
  | [**get_player**](PlayersApi.md#get_player) | **GET** /v0/players/{player_id} | |
8
8
  | [**get_player_last_match**](PlayersApi.md#get_player_last_match) | **GET** /v0/players/{player_id}/matches/last | |
9
9
  | [**get_player_matches**](PlayersApi.md#get_player_matches) | **GET** /v0/players/{player_id}/matches | |
10
- | [**get_player_preferences**](PlayersApi.md#get_player_preferences) | **GET** /v0/players/{player_id}/preferences | |
11
10
  | [**get_player_statistics_activity**](PlayersApi.md#get_player_statistics_activity) | **GET** /v0/players/{player_id}/statistics/activity | |
12
11
  | [**get_player_statistics_matchups**](PlayersApi.md#get_player_statistics_matchups) | **GET** /v0/players/{player_id}/statistics/matchups | |
13
12
  | [**get_player_statistics_opponents**](PlayersApi.md#get_player_statistics_opponents) | **GET** /v0/players/{player_id}/statistics/opponents | |
14
- | [**update_player_preferences**](PlayersApi.md#update_player_preferences) | **PUT** /v0/players/{player_id}/preferences | |
15
13
 
16
14
 
17
15
  ## get_player
@@ -140,7 +138,7 @@ No authorization required
140
138
 
141
139
  ## get_player_matches
142
140
 
143
- > <PlayerMatchesResponse> get_player_matches(player_id)
141
+ > <PlayerMatchesResponse> get_player_matches(player_id, opts)
144
142
 
145
143
 
146
144
 
@@ -152,10 +150,16 @@ require 'stormgate_world'
152
150
 
153
151
  api_instance = StormgateWorld::PlayersApi.new
154
152
  player_id = 'player_id_example' # String | Player ID
153
+ opts = {
154
+ race: StormgateWorld::Race::INFERNALS, # Race |
155
+ opponent_player_id: 'opponent_player_id_example', # String |
156
+ page: 789, # Integer |
157
+ count: 789 # Integer |
158
+ }
155
159
 
156
160
  begin
157
161
 
158
- result = api_instance.get_player_matches(player_id)
162
+ result = api_instance.get_player_matches(player_id, opts)
159
163
  p result
160
164
  rescue StormgateWorld::ApiError => e
161
165
  puts "Error when calling PlayersApi->get_player_matches: #{e}"
@@ -166,12 +170,12 @@ end
166
170
 
167
171
  This returns an Array which contains the response data, status code and headers.
168
172
 
169
- > <Array(<PlayerMatchesResponse>, Integer, Hash)> get_player_matches_with_http_info(player_id)
173
+ > <Array(<PlayerMatchesResponse>, Integer, Hash)> get_player_matches_with_http_info(player_id, opts)
170
174
 
171
175
  ```ruby
172
176
  begin
173
177
 
174
- data, status_code, headers = api_instance.get_player_matches_with_http_info(player_id)
178
+ data, status_code, headers = api_instance.get_player_matches_with_http_info(player_id, opts)
175
179
  p status_code # => 2xx
176
180
  p headers # => { ... }
177
181
  p data # => <PlayerMatchesResponse>
@@ -185,6 +189,10 @@ end
185
189
  | Name | Type | Description | Notes |
186
190
  | ---- | ---- | ----------- | ----- |
187
191
  | **player_id** | **String** | Player ID | |
192
+ | **race** | [**Race**](.md) | | [optional] |
193
+ | **opponent_player_id** | **String** | | [optional] |
194
+ | **page** | **Integer** | | [optional] |
195
+ | **count** | **Integer** | | [optional] |
188
196
 
189
197
  ### Return type
190
198
 
@@ -200,75 +208,6 @@ No authorization required
200
208
  - **Accept**: application/json
201
209
 
202
210
 
203
- ## get_player_preferences
204
-
205
- > <PlayerPreferences> get_player_preferences(player_id)
206
-
207
-
208
-
209
- ### Examples
210
-
211
- ```ruby
212
- require 'time'
213
- require 'stormgate_world'
214
- # setup authorization
215
- StormgateWorld.configure do |config|
216
- # Configure API key authorization: api_key
217
- config.api_key['api_key'] = 'YOUR API KEY'
218
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
219
- # config.api_key_prefix['api_key'] = 'Bearer'
220
- end
221
-
222
- api_instance = StormgateWorld::PlayersApi.new
223
- player_id = 'player_id_example' # String | Player ID
224
-
225
- begin
226
-
227
- result = api_instance.get_player_preferences(player_id)
228
- p result
229
- rescue StormgateWorld::ApiError => e
230
- puts "Error when calling PlayersApi->get_player_preferences: #{e}"
231
- end
232
- ```
233
-
234
- #### Using the get_player_preferences_with_http_info variant
235
-
236
- This returns an Array which contains the response data, status code and headers.
237
-
238
- > <Array(<PlayerPreferences>, Integer, Hash)> get_player_preferences_with_http_info(player_id)
239
-
240
- ```ruby
241
- begin
242
-
243
- data, status_code, headers = api_instance.get_player_preferences_with_http_info(player_id)
244
- p status_code # => 2xx
245
- p headers # => { ... }
246
- p data # => <PlayerPreferences>
247
- rescue StormgateWorld::ApiError => e
248
- puts "Error when calling PlayersApi->get_player_preferences_with_http_info: #{e}"
249
- end
250
- ```
251
-
252
- ### Parameters
253
-
254
- | Name | Type | Description | Notes |
255
- | ---- | ---- | ----------- | ----- |
256
- | **player_id** | **String** | Player ID | |
257
-
258
- ### Return type
259
-
260
- [**PlayerPreferences**](PlayerPreferences.md)
261
-
262
- ### Authorization
263
-
264
- [api_key](../README.md#api_key)
265
-
266
- ### HTTP request headers
267
-
268
- - **Content-Type**: Not defined
269
- - **Accept**: application/json
270
-
271
-
272
211
  ## get_player_statistics_activity
273
212
 
274
213
  > <PlayerActivityStats> get_player_statistics_activity(player_id)
@@ -458,74 +397,3 @@ No authorization required
458
397
  - **Content-Type**: Not defined
459
398
  - **Accept**: application/json
460
399
 
461
-
462
- ## update_player_preferences
463
-
464
- > <PlayerPreferences> update_player_preferences(player_id, player_preferences)
465
-
466
-
467
-
468
- ### Examples
469
-
470
- ```ruby
471
- require 'time'
472
- require 'stormgate_world'
473
- # setup authorization
474
- StormgateWorld.configure do |config|
475
- # Configure API key authorization: api_key
476
- config.api_key['api_key'] = 'YOUR API KEY'
477
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
478
- # config.api_key_prefix['api_key'] = 'Bearer'
479
- end
480
-
481
- api_instance = StormgateWorld::PlayersApi.new
482
- player_id = 'player_id_example' # String | Player ID
483
- player_preferences = StormgateWorld::PlayerPreferences.new # PlayerPreferences |
484
-
485
- begin
486
-
487
- result = api_instance.update_player_preferences(player_id, player_preferences)
488
- p result
489
- rescue StormgateWorld::ApiError => e
490
- puts "Error when calling PlayersApi->update_player_preferences: #{e}"
491
- end
492
- ```
493
-
494
- #### Using the update_player_preferences_with_http_info variant
495
-
496
- This returns an Array which contains the response data, status code and headers.
497
-
498
- > <Array(<PlayerPreferences>, Integer, Hash)> update_player_preferences_with_http_info(player_id, player_preferences)
499
-
500
- ```ruby
501
- begin
502
-
503
- data, status_code, headers = api_instance.update_player_preferences_with_http_info(player_id, player_preferences)
504
- p status_code # => 2xx
505
- p headers # => { ... }
506
- p data # => <PlayerPreferences>
507
- rescue StormgateWorld::ApiError => e
508
- puts "Error when calling PlayersApi->update_player_preferences_with_http_info: #{e}"
509
- end
510
- ```
511
-
512
- ### Parameters
513
-
514
- | Name | Type | Description | Notes |
515
- | ---- | ---- | ----------- | ----- |
516
- | **player_id** | **String** | Player ID | |
517
- | **player_preferences** | [**PlayerPreferences**](PlayerPreferences.md) | | |
518
-
519
- ### Return type
520
-
521
- [**PlayerPreferences**](PlayerPreferences.md)
522
-
523
- ### Authorization
524
-
525
- [api_key](../README.md#api_key)
526
-
527
- ### HTTP request headers
528
-
529
- - **Content-Type**: application/json
530
- - **Accept**: application/json
531
-
@@ -0,0 +1,15 @@
1
+ # StormgateWorld::Resolution
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'stormgate_world'
12
+
13
+ instance = StormgateWorld::Resolution.new()
14
+ ```
15
+
@@ -0,0 +1,24 @@
1
+ # StormgateWorld::ServersStatistics
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cached_at** | **Time** | | |
8
+ | **since** | **Date** | | |
9
+ | **_until** | **Date** | | |
10
+ | **servers** | [**Array&lt;ServersStatisticsEntry&gt;**](ServersStatisticsEntry.md) | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'stormgate_world'
16
+
17
+ instance = StormgateWorld::ServersStatistics.new(
18
+ cached_at: null,
19
+ since: null,
20
+ _until: null,
21
+ servers: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,22 @@
1
+ # StormgateWorld::ServersStatisticsEntry
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **server** | **String** | | |
8
+ | **matches** | **Integer** | | |
9
+ | **players** | **Integer** | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'stormgate_world'
15
+
16
+ instance = StormgateWorld::ServersStatisticsEntry.new(
17
+ server: null,
18
+ matches: null,
19
+ players: null
20
+ )
21
+ ```
22
+
@@ -5,6 +5,9 @@ All URIs are relative to *https://api.stormgateworld.com*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**get_statistics**](StatisticsApi.md#get_statistics) | **GET** /v0/statistics/ranked_1v1 | |
8
+ | [**get_statistics_activity**](StatisticsApi.md#get_statistics_activity) | **GET** /v0/statistics/activity | |
9
+ | [**get_statistics_countries**](StatisticsApi.md#get_statistics_countries) | **GET** /v0/statistics/countries | |
10
+ | [**get_statistics_servers**](StatisticsApi.md#get_statistics_servers) | **GET** /v0/statistics/servers | |
8
11
 
9
12
 
10
13
  ## get_statistics
@@ -21,7 +24,8 @@ require 'stormgate_world'
21
24
 
22
25
  api_instance = StormgateWorld::StatisticsApi.new
23
26
  opts = {
24
- league: 'league_example' # String |
27
+ league: StormgateWorld::League::ASPIRANT, # League |
28
+ count: 56 # Integer |
25
29
  }
26
30
 
27
31
  begin
@@ -55,7 +59,8 @@ end
55
59
 
56
60
  | Name | Type | Description | Notes |
57
61
  | ---- | ---- | ----------- | ----- |
58
- | **league** | **String** | | [optional] |
62
+ | **league** | [**League**](.md) | | [optional] |
63
+ | **count** | **Integer** | | [optional] |
59
64
 
60
65
  ### Return type
61
66
 
@@ -70,3 +75,201 @@ No authorization required
70
75
  - **Content-Type**: Not defined
71
76
  - **Accept**: application/json
72
77
 
78
+
79
+ ## get_statistics_activity
80
+
81
+ > <ActivityStatistics> get_statistics_activity(opts)
82
+
83
+
84
+
85
+ ### Examples
86
+
87
+ ```ruby
88
+ require 'time'
89
+ require 'stormgate_world'
90
+
91
+ api_instance = StormgateWorld::StatisticsApi.new
92
+ opts = {
93
+ since: Date.parse('2013-10-20'), # Date |
94
+ _until: Date.parse('2013-10-20') # Date |
95
+ }
96
+
97
+ begin
98
+
99
+ result = api_instance.get_statistics_activity(opts)
100
+ p result
101
+ rescue StormgateWorld::ApiError => e
102
+ puts "Error when calling StatisticsApi->get_statistics_activity: #{e}"
103
+ end
104
+ ```
105
+
106
+ #### Using the get_statistics_activity_with_http_info variant
107
+
108
+ This returns an Array which contains the response data, status code and headers.
109
+
110
+ > <Array(<ActivityStatistics>, Integer, Hash)> get_statistics_activity_with_http_info(opts)
111
+
112
+ ```ruby
113
+ begin
114
+
115
+ data, status_code, headers = api_instance.get_statistics_activity_with_http_info(opts)
116
+ p status_code # => 2xx
117
+ p headers # => { ... }
118
+ p data # => <ActivityStatistics>
119
+ rescue StormgateWorld::ApiError => e
120
+ puts "Error when calling StatisticsApi->get_statistics_activity_with_http_info: #{e}"
121
+ end
122
+ ```
123
+
124
+ ### Parameters
125
+
126
+ | Name | Type | Description | Notes |
127
+ | ---- | ---- | ----------- | ----- |
128
+ | **since** | **Date** | | [optional] |
129
+ | **_until** | **Date** | | [optional] |
130
+
131
+ ### Return type
132
+
133
+ [**ActivityStatistics**](ActivityStatistics.md)
134
+
135
+ ### Authorization
136
+
137
+ No authorization required
138
+
139
+ ### HTTP request headers
140
+
141
+ - **Content-Type**: Not defined
142
+ - **Accept**: application/json
143
+
144
+
145
+ ## get_statistics_countries
146
+
147
+ > <CountriesStatistics> get_statistics_countries(opts)
148
+
149
+
150
+
151
+ ### Examples
152
+
153
+ ```ruby
154
+ require 'time'
155
+ require 'stormgate_world'
156
+
157
+ api_instance = StormgateWorld::StatisticsApi.new
158
+ opts = {
159
+ since: Date.parse('2013-10-20'), # Date |
160
+ _until: Date.parse('2013-10-20') # Date |
161
+ }
162
+
163
+ begin
164
+
165
+ result = api_instance.get_statistics_countries(opts)
166
+ p result
167
+ rescue StormgateWorld::ApiError => e
168
+ puts "Error when calling StatisticsApi->get_statistics_countries: #{e}"
169
+ end
170
+ ```
171
+
172
+ #### Using the get_statistics_countries_with_http_info variant
173
+
174
+ This returns an Array which contains the response data, status code and headers.
175
+
176
+ > <Array(<CountriesStatistics>, Integer, Hash)> get_statistics_countries_with_http_info(opts)
177
+
178
+ ```ruby
179
+ begin
180
+
181
+ data, status_code, headers = api_instance.get_statistics_countries_with_http_info(opts)
182
+ p status_code # => 2xx
183
+ p headers # => { ... }
184
+ p data # => <CountriesStatistics>
185
+ rescue StormgateWorld::ApiError => e
186
+ puts "Error when calling StatisticsApi->get_statistics_countries_with_http_info: #{e}"
187
+ end
188
+ ```
189
+
190
+ ### Parameters
191
+
192
+ | Name | Type | Description | Notes |
193
+ | ---- | ---- | ----------- | ----- |
194
+ | **since** | **Date** | | [optional] |
195
+ | **_until** | **Date** | | [optional] |
196
+
197
+ ### Return type
198
+
199
+ [**CountriesStatistics**](CountriesStatistics.md)
200
+
201
+ ### Authorization
202
+
203
+ No authorization required
204
+
205
+ ### HTTP request headers
206
+
207
+ - **Content-Type**: Not defined
208
+ - **Accept**: application/json
209
+
210
+
211
+ ## get_statistics_servers
212
+
213
+ > <ServersStatistics> get_statistics_servers(opts)
214
+
215
+
216
+
217
+ ### Examples
218
+
219
+ ```ruby
220
+ require 'time'
221
+ require 'stormgate_world'
222
+
223
+ api_instance = StormgateWorld::StatisticsApi.new
224
+ opts = {
225
+ since: Date.parse('2013-10-20'), # Date |
226
+ _until: Date.parse('2013-10-20') # Date |
227
+ }
228
+
229
+ begin
230
+
231
+ result = api_instance.get_statistics_servers(opts)
232
+ p result
233
+ rescue StormgateWorld::ApiError => e
234
+ puts "Error when calling StatisticsApi->get_statistics_servers: #{e}"
235
+ end
236
+ ```
237
+
238
+ #### Using the get_statistics_servers_with_http_info variant
239
+
240
+ This returns an Array which contains the response data, status code and headers.
241
+
242
+ > <Array(<ServersStatistics>, Integer, Hash)> get_statistics_servers_with_http_info(opts)
243
+
244
+ ```ruby
245
+ begin
246
+
247
+ data, status_code, headers = api_instance.get_statistics_servers_with_http_info(opts)
248
+ p status_code # => 2xx
249
+ p headers # => { ... }
250
+ p data # => <ServersStatistics>
251
+ rescue StormgateWorld::ApiError => e
252
+ puts "Error when calling StatisticsApi->get_statistics_servers_with_http_info: #{e}"
253
+ end
254
+ ```
255
+
256
+ ### Parameters
257
+
258
+ | Name | Type | Description | Notes |
259
+ | ---- | ---- | ----------- | ----- |
260
+ | **since** | **Date** | | [optional] |
261
+ | **_until** | **Date** | | [optional] |
262
+
263
+ ### Return type
264
+
265
+ [**ServersStatistics**](ServersStatistics.md)
266
+
267
+ ### Authorization
268
+
269
+ No authorization required
270
+
271
+ ### HTTP request headers
272
+
273
+ - **Content-Type**: Not defined
274
+ - **Accept**: application/json
275
+
data/docs/StatsByTime.md CHANGED
@@ -8,7 +8,7 @@
8
8
  | **updated_at** | **Time** | | |
9
9
  | **period** | **String** | | |
10
10
  | **count** | **Integer** | | |
11
- | **league** | **String** | | [optional] |
11
+ | **league** | [**League**](League.md) | | [optional] |
12
12
  | **races** | [**Array&lt;StatsByTimeEntry&gt;**](StatsByTimeEntry.md) | | |
13
13
  | **match_length** | [**StatsByTimeMatchLength**](StatsByTimeMatchLength.md) | | |
14
14
 
@@ -21,6 +21,8 @@ module StormgateWorld
21
21
  end
22
22
  # @param leaderboard_entry_id [String] Player Leaderboard Entry ID
23
23
  # @param [Hash] opts the optional parameters
24
+ # @option opts [Resolution] :resolution
25
+ # @option opts [Aggregation] :aggregation
24
26
  # @return [LeaderboardEntryHistory]
25
27
  def get_leaderboard_entry_history(leaderboard_entry_id, opts = {})
26
28
  data, _status_code, _headers = get_leaderboard_entry_history_with_http_info(leaderboard_entry_id, opts)
@@ -29,6 +31,8 @@ module StormgateWorld
29
31
 
30
32
  # @param leaderboard_entry_id [String] Player Leaderboard Entry ID
31
33
  # @param [Hash] opts the optional parameters
34
+ # @option opts [Resolution] :resolution
35
+ # @option opts [Aggregation] :aggregation
32
36
  # @return [Array<(LeaderboardEntryHistory, Integer, Hash)>] LeaderboardEntryHistory data, response status code and response headers
33
37
  def get_leaderboard_entry_history_with_http_info(leaderboard_entry_id, opts = {})
34
38
  if @api_client.config.debugging
@@ -43,6 +47,8 @@ module StormgateWorld
43
47
 
44
48
  # query parameters
45
49
  query_params = opts[:query_params] || {}
50
+ query_params[:'resolution'] = opts[:'resolution'] if !opts[:'resolution'].nil?
51
+ query_params[:'aggregation'] = opts[:'aggregation'] if !opts[:'aggregation'].nil?
46
52
 
47
53
  # header parameters
48
54
  header_params = opts[:header_params] || {}
@@ -96,6 +96,7 @@ module StormgateWorld
96
96
  end
97
97
 
98
98
  # @param [Hash] opts the optional parameters
99
+ # @option opts [DumpFormat] :format
99
100
  # @return [LeaderboardDumpResponse]
100
101
  def get_leaderboard_dump(opts = {})
101
102
  data, _status_code, _headers = get_leaderboard_dump_with_http_info(opts)
@@ -103,6 +104,7 @@ module StormgateWorld
103
104
  end
104
105
 
105
106
  # @param [Hash] opts the optional parameters
107
+ # @option opts [DumpFormat] :format
106
108
  # @return [Array<(LeaderboardDumpResponse, Integer, Hash)>] LeaderboardDumpResponse data, response status code and response headers
107
109
  def get_leaderboard_dump_with_http_info(opts = {})
108
110
  if @api_client.config.debugging
@@ -113,6 +115,7 @@ module StormgateWorld
113
115
 
114
116
  # query parameters
115
117
  query_params = opts[:query_params] || {}
118
+ query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
116
119
 
117
120
  # header parameters
118
121
  header_params = opts[:header_params] || {}