valorant_daily_store 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.commitlintrc.json +3 -0
- data/.husky/commit-msg +4 -0
- data/.husky/pre-commit +4 -0
- data/.rspec +3 -0
- data/.standard.yml +2 -0
- data/.tool-versions +1 -0
- data/.versionrc.json +24 -0
- data/.vscode/settings.json +4 -0
- data/CHANGELOG.md +52 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +100 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +10 -0
- data/bin/console +12 -0
- data/bin/setup +9 -0
- data/bin/valorant_daily_store +5 -0
- data/gem-version-updater.js +16 -0
- data/gemfile-lock-updater.js +16 -0
- data/lib/valorant_daily_store/cli.rb +25 -0
- data/lib/valorant_daily_store/consts.rb +3 -0
- data/lib/valorant_daily_store/data.rb +163 -0
- data/lib/valorant_daily_store/errors.rb +49 -0
- data/lib/valorant_daily_store/skin.rb +26 -0
- data/lib/valorant_daily_store/version.rb +5 -0
- data/lib/valorant_daily_store.rb +10 -0
- data/package-lock.json +5070 -0
- data/package.json +26 -0
- data/sig/valorant_daily_store.rbs +4 -0
- data/valorant_daily_store.gemspec +42 -0
- data/vcr_cassettes/entitlements_token_could_not_be_acquired.json +127 -0
- data/vcr_cassettes/everything_went_fine.json +530 -0
- data/vcr_cassettes/offers_could_not_be_acquired.json +274 -0
- data/vcr_cassettes/player_id_could_not_be_acquired.json +175 -0
- data/vcr_cassettes/skin_ids_could_not_be_acquired.json +231 -0
- data/vcr_cassettes/username_or_password_is_invalid.json +123 -0
- data/vcr_cassettes/valorant_api_fail.json +530 -0
- metadata +224 -0
@@ -0,0 +1,274 @@
|
|
1
|
+
{
|
2
|
+
"http_interactions": [
|
3
|
+
{
|
4
|
+
"request": {
|
5
|
+
"method": "post",
|
6
|
+
"uri": "https://auth.riotgames.com/api/v1/authorization",
|
7
|
+
"body": {
|
8
|
+
"encoding": "UTF-8",
|
9
|
+
"string": "{\"nonce\":\"1\",\"client_id\":\"play-valorant-web-prod\",\"redirect_uri\":\"https://playvalorant.com/opt_in\",\"response_type\":\"token id_token\"}"
|
10
|
+
},
|
11
|
+
"headers": {
|
12
|
+
"User-Agent": [
|
13
|
+
"RiotClient/43.0.1.4195386.4190634 rso-auth (Windows;10;;Professional, x64)"
|
14
|
+
],
|
15
|
+
"Content-Type": ["application/json"],
|
16
|
+
"Accept-Encoding": ["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],
|
17
|
+
"Accept": ["*/*"]
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"response": {
|
21
|
+
"status": {
|
22
|
+
"code": 200,
|
23
|
+
"message": "OK"
|
24
|
+
},
|
25
|
+
"headers": {
|
26
|
+
"Date": ["Fri, 28 Jan 2022 23:25:11 GMT"],
|
27
|
+
"Content-Type": ["application/json; charset=utf-8"],
|
28
|
+
"Content-Length": ["31"],
|
29
|
+
"Connection": ["keep-alive"],
|
30
|
+
"Cache-Control": [
|
31
|
+
"no-store, no-cache, must-revalidate, proxy-revalidate"
|
32
|
+
],
|
33
|
+
"Etag": ["W/\"1f-YDrzkZDFynr/UugAD0CjFX4MZHA\""],
|
34
|
+
"Expires": ["0"],
|
35
|
+
"Pragma": ["no-cache"],
|
36
|
+
"Set-Cookie": [
|
37
|
+
"__cf_bm=M4f7g4Hwzhombr7Q.GsEcI2..CIMgwvA_.hny0Ej4QQ-1643412311-0-AQzWbh3zeThanPzR9icAb2/WRoZtaMHe3G5SsASPy/nj478d5NVPieqtzH9qEFo3MOxhiYON4jB8VEjB5GQVBCY=; path=/; expires=Fri, 28-Jan-22 23:55:11 GMT; domain=.riotgames.com; HttpOnly; Secure; SameSite=None",
|
38
|
+
"asid=xxxxx; Path=/; HttpOnly; Secure; SameSite=Strict",
|
39
|
+
"clid=ec1; Path=/; HttpOnly; Secure",
|
40
|
+
"tdid=xxxxx; Max-Age=31536000; Domain=riotgames.com; Path=/; Expires=Sat, 28 Jan 2023 23:25:11 GMT; HttpOnly; Secure"
|
41
|
+
],
|
42
|
+
"Surrogate-Control": ["no-store"],
|
43
|
+
"Vary": ["Accept-Encoding"],
|
44
|
+
"X-Content-Type-Options": ["nosniff"],
|
45
|
+
"X-Download-Options": ["noopen"],
|
46
|
+
"Cf-Cache-Status": ["DYNAMIC"],
|
47
|
+
"Expect-Ct": [
|
48
|
+
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""
|
49
|
+
],
|
50
|
+
"X-Riotgames-Cdn": ["Cloudflare"],
|
51
|
+
"Server": ["cloudflare"],
|
52
|
+
"Cf-Ray": ["6d4dfa829be4cc93-WAW"]
|
53
|
+
},
|
54
|
+
"body": {
|
55
|
+
"encoding": "UTF-8",
|
56
|
+
"string": "{\"type\":\"auth\",\"country\":\"pol\"}"
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"recorded_at": "Fri, 28 Jan 2022 23:25:12 GMT"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"request": {
|
63
|
+
"method": "put",
|
64
|
+
"uri": "https://auth.riotgames.com/api/v1/authorization",
|
65
|
+
"body": {
|
66
|
+
"encoding": "UTF-8",
|
67
|
+
"string": "{\"type\":\"auth\",\"username\":\"xxxxx\",\"password\":\"xxxxx\"}"
|
68
|
+
},
|
69
|
+
"headers": {
|
70
|
+
"User-Agent": [
|
71
|
+
"RiotClient/43.0.1.4195386.4190634 rso-auth (Windows;10;;Professional, x64)"
|
72
|
+
],
|
73
|
+
"Cookie": [
|
74
|
+
"__cf_bm=M4f7g4Hwzhombr7Q.GsEcI2..CIMgwvA_.hny0Ej4QQ-1643412311-0-AQzWbh3zeThanPzR9icAb2/WRoZtaMHe3G5SsASPy/nj478d5NVPieqtzH9qEFo3MOxhiYON4jB8VEjB5GQVBCY=; asid=xxxxx; clid=ec1; tdid=xxxxx"
|
75
|
+
],
|
76
|
+
"Content-Type": ["application/json"],
|
77
|
+
"Accept-Encoding": ["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],
|
78
|
+
"Accept": ["*/*"]
|
79
|
+
}
|
80
|
+
},
|
81
|
+
"response": {
|
82
|
+
"status": {
|
83
|
+
"code": 200,
|
84
|
+
"message": "OK"
|
85
|
+
},
|
86
|
+
"headers": {
|
87
|
+
"Date": ["Fri, 28 Jan 2022 23:25:12 GMT"],
|
88
|
+
"Content-Type": ["application/json; charset=utf-8"],
|
89
|
+
"Transfer-Encoding": ["chunked"],
|
90
|
+
"Connection": ["keep-alive"],
|
91
|
+
"Cache-Control": [
|
92
|
+
"no-store, no-cache, must-revalidate, proxy-revalidate"
|
93
|
+
],
|
94
|
+
"Etag": ["W/\"577-6lxnlkEmmg2+CbF/hy4hEgbhPqM\""],
|
95
|
+
"Expires": ["0"],
|
96
|
+
"Pragma": ["no-cache"],
|
97
|
+
"Set-Cookie": [
|
98
|
+
"asid=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT; HttpOnly; Secure",
|
99
|
+
"clid=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT; HttpOnly; Secure",
|
100
|
+
"clid=ec1; Path=/; HttpOnly; Secure",
|
101
|
+
"csid=xxxxx; Path=/; Secure; SameSite=None",
|
102
|
+
"ssid=xxxxx; Path=/; HttpOnly; Secure; SameSite=None",
|
103
|
+
"sub=xxxxx; Path=/; Secure",
|
104
|
+
"tdid=xxxxx; Max-Age=31536000; Domain=riotgames.com; Path=/; Expires=Sat, 28 Jan 2023 23:25:11 GMT; HttpOnly; Secure"
|
105
|
+
],
|
106
|
+
"Surrogate-Control": ["no-store"],
|
107
|
+
"Vary": ["Accept-Encoding"],
|
108
|
+
"X-Content-Type-Options": ["nosniff"],
|
109
|
+
"X-Download-Options": ["noopen"],
|
110
|
+
"Cf-Cache-Status": ["DYNAMIC"],
|
111
|
+
"Expect-Ct": [
|
112
|
+
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""
|
113
|
+
],
|
114
|
+
"X-Riotgames-Cdn": ["Cloudflare"],
|
115
|
+
"Server": ["cloudflare"],
|
116
|
+
"Cf-Ray": ["6d4dfa83bcab0030-WAW"]
|
117
|
+
},
|
118
|
+
"body": {
|
119
|
+
"encoding": "ASCII-8BIT",
|
120
|
+
"string": "{\"type\":\"response\",\"response\":{\"mode\":\"fragment\",\"parameters\":{\"uri\":\"https://playvalorant.com/opt_in#access_token=xxxxx&scope=openid&iss=https%3A%2F%2Fauth.riotgames.com&id_token=xxxxx&token_type=Bearer&session_state=yRySr1jVDGX8RwPQM317R_GP7UAFNjqB5CeYjKH7W58.wD4NWOlrASbfPZZQTWCqHg&expires_in=3600\"}},\"country\":\"pol\"}"
|
121
|
+
}
|
122
|
+
},
|
123
|
+
"recorded_at": "Fri, 28 Jan 2022 23:25:13 GMT"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"request": {
|
127
|
+
"method": "post",
|
128
|
+
"uri": "https://entitlements.auth.riotgames.com/api/token/v1",
|
129
|
+
"body": {
|
130
|
+
"encoding": "UTF-8",
|
131
|
+
"string": "{}"
|
132
|
+
},
|
133
|
+
"headers": {
|
134
|
+
"Authorization": ["Bearer xxxxx"],
|
135
|
+
"User-Agent": [
|
136
|
+
"RiotClient/43.0.1.4195386.4190634 rso-auth (Windows;10;;Professional, x64)"
|
137
|
+
],
|
138
|
+
"Content-Type": ["application/json"],
|
139
|
+
"Accept-Encoding": ["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],
|
140
|
+
"Accept": ["*/*"]
|
141
|
+
}
|
142
|
+
},
|
143
|
+
"response": {
|
144
|
+
"status": {
|
145
|
+
"code": 200,
|
146
|
+
"message": "OK"
|
147
|
+
},
|
148
|
+
"headers": {
|
149
|
+
"Date": ["Fri, 28 Jan 2022 23:25:12 GMT"],
|
150
|
+
"Content-Type": ["application/json"],
|
151
|
+
"Content-Length": ["534"],
|
152
|
+
"Connection": ["keep-alive"],
|
153
|
+
"Access-Control-Allow-Origin": ["*"],
|
154
|
+
"Vary": ["Accept-Encoding"],
|
155
|
+
"Cf-Cache-Status": ["DYNAMIC"],
|
156
|
+
"Expect-Ct": [
|
157
|
+
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""
|
158
|
+
],
|
159
|
+
"X-Riotgames-Cdn": ["Cloudflare"],
|
160
|
+
"Set-Cookie": [
|
161
|
+
"__cf_bm=zU6db5_C.24bQUJJvR13mnjurGH24lelrSOHg_jqalw-1643412312-0-AYVgFoAZFmMif2eN7jZtmN3JHb/7F66VXoUneFPiSVdrnyFNCyZcKPMFph4VKm1EsERMIM97N1+DVBN8v9n3/NY=; path=/; expires=Fri, 28-Jan-22 23:55:12 GMT; domain=.riotgames.com; HttpOnly; Secure; SameSite=None"
|
162
|
+
],
|
163
|
+
"Server": ["cloudflare"],
|
164
|
+
"Cf-Ray": ["6d4dfa8baf095037-WAW"]
|
165
|
+
},
|
166
|
+
"body": {
|
167
|
+
"encoding": "ASCII-8BIT",
|
168
|
+
"string": "{\"entitlements_token\":\"xxxxx\"}"
|
169
|
+
}
|
170
|
+
},
|
171
|
+
"recorded_at": "Fri, 28 Jan 2022 23:25:13 GMT"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"request": {
|
175
|
+
"method": "get",
|
176
|
+
"uri": "https://auth.riotgames.com/userinfo",
|
177
|
+
"body": {
|
178
|
+
"encoding": "US-ASCII",
|
179
|
+
"string": ""
|
180
|
+
},
|
181
|
+
"headers": {
|
182
|
+
"User-Agent": [
|
183
|
+
"RiotClient/43.0.1.4195386.4190634 rso-auth (Windows;10;;Professional, x64)"
|
184
|
+
],
|
185
|
+
"Authorization": ["Bearer xxxxx"],
|
186
|
+
"Cookie": [
|
187
|
+
"__cf_bm=M4f7g4Hwzhombr7Q.GsEcI2..CIMgwvA_.hny0Ej4QQ-1643412311-0-AQzWbh3zeThanPzR9icAb2/WRoZtaMHe3G5SsASPy/nj478d5NVPieqtzH9qEFo3MOxhiYON4jB8VEjB5GQVBCY=; clid=ec1; csid=xxxxx; ssid=xxxxx; tdid=xxxxx"
|
188
|
+
],
|
189
|
+
"Accept-Encoding": ["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],
|
190
|
+
"Accept": ["*/*"]
|
191
|
+
}
|
192
|
+
},
|
193
|
+
"response": {
|
194
|
+
"status": {
|
195
|
+
"code": 200,
|
196
|
+
"message": "OK"
|
197
|
+
},
|
198
|
+
"headers": {
|
199
|
+
"Date": ["Fri, 28 Jan 2022 23:25:13 GMT"],
|
200
|
+
"Content-Type": ["application/json; charset=utf-8"],
|
201
|
+
"Transfer-Encoding": ["chunked"],
|
202
|
+
"Connection": ["keep-alive"],
|
203
|
+
"Cache-Control": [
|
204
|
+
"no-store, no-cache, must-revalidate, proxy-revalidate"
|
205
|
+
],
|
206
|
+
"Etag": ["W/\"42-lDJ5nQQp67c1ZHfrJE1Jx2SByLM\""],
|
207
|
+
"Expires": ["0"],
|
208
|
+
"Pragma": ["no-cache"],
|
209
|
+
"Surrogate-Control": ["no-store"],
|
210
|
+
"Vary": ["Accept-Encoding"],
|
211
|
+
"X-Content-Type-Options": ["nosniff"],
|
212
|
+
"X-Download-Options": ["noopen"],
|
213
|
+
"X-Fapi-Interaction-Id": ["d69054dc-2da8-4f32-9b63-b01fc67f5444"],
|
214
|
+
"Cf-Cache-Status": ["DYNAMIC"],
|
215
|
+
"Expect-Ct": [
|
216
|
+
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""
|
217
|
+
],
|
218
|
+
"X-Riotgames-Cdn": ["Cloudflare"],
|
219
|
+
"Server": ["cloudflare"],
|
220
|
+
"Cf-Ray": ["6d4dfa8c6cd3f2a0-WAW"]
|
221
|
+
},
|
222
|
+
"body": {
|
223
|
+
"encoding": "ASCII-8BIT",
|
224
|
+
"string": "{\"sub\":\"xxxxx\",\"jti\":\"_QVmGR2ZTII\"}"
|
225
|
+
}
|
226
|
+
},
|
227
|
+
"recorded_at": "Fri, 28 Jan 2022 23:25:14 GMT"
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"request": {
|
231
|
+
"method": "get",
|
232
|
+
"uri": "https://pd.xxxxx.a.pvp.net/store/v2/storefront/xxxxx",
|
233
|
+
"body": {
|
234
|
+
"encoding": "US-ASCII",
|
235
|
+
"string": ""
|
236
|
+
},
|
237
|
+
"headers": {
|
238
|
+
"Authorization": ["Bearer xxxxx"],
|
239
|
+
"User-Agent": [
|
240
|
+
"RiotClient/43.0.1.4195386.4190634 rso-auth (Windows;10;;Professional, x64)"
|
241
|
+
],
|
242
|
+
"X-Riot-Entitlements-Jwt": ["xxxxx"],
|
243
|
+
"Accept-Encoding": ["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],
|
244
|
+
"Accept": ["*/*"]
|
245
|
+
}
|
246
|
+
},
|
247
|
+
"response": {
|
248
|
+
"status": {
|
249
|
+
"code": 200,
|
250
|
+
"message": "OK"
|
251
|
+
},
|
252
|
+
"headers": {
|
253
|
+
"Date": ["Fri, 28 Jan 2022 23:25:13 GMT"],
|
254
|
+
"Content-Type": ["application/json"],
|
255
|
+
"Transfer-Encoding": ["chunked"],
|
256
|
+
"Connection": ["keep-alive"],
|
257
|
+
"Access-Control-Allow-Origin": ["*"],
|
258
|
+
"Cf-Cache-Status": ["DYNAMIC"],
|
259
|
+
"Expect-Ct": [
|
260
|
+
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""
|
261
|
+
],
|
262
|
+
"Server": ["cloudflare"],
|
263
|
+
"Cf-Ray": ["6d4dfa8e3ae85049-WAW"]
|
264
|
+
},
|
265
|
+
"body": {
|
266
|
+
"encoding": "ASCII-8BIT",
|
267
|
+
"string": "{\"FeaturedBundle\":{\"Bundle\":{\"ID\":\"66def9e4-cea3-4315-87b5-1a0d3859cee5\",\"DataAssetID\":\"ab83f73d-485f-e010-8ea0-24b538468a1a\",\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"Items\":[{\"Item\":{\"ItemTypeID\":\"dd3bf334-87f3-40bd-b043-682a57a8dc3a\",\"ItemID\":\"6607dba5-4cb8-d860-3010-708bcbcbe808\",\"Amount\":2},\"BasePrice\":475,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":1,\"DiscountedPrice\":0,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"3f296c07-64c3-494c-923b-fe692a4fa1bd\",\"ItemID\":\"66554177-4970-fea5-22d2-c0bd8514888c\",\"Amount\":1},\"BasePrice\":375,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":1,\"DiscountedPrice\":0,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"d5f120f8-ff8c-4aac-92ea-f2b5acbe9475\",\"ItemID\":\"e428e9d5-4912-ffac-031b-f293375cd14d\",\"Amount\":1},\"BasePrice\":325,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":1,\"DiscountedPrice\":0,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"e7c63390-eda7-46e0-bb7a-a6abdacd2433\",\"ItemID\":\"544ddf0f-42c6-e410-c9db-fc8b3b2c84d4\",\"Amount\":1},\"BasePrice\":2475,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":0,\"DiscountedPrice\":2475,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"e7c63390-eda7-46e0-bb7a-a6abdacd2433\",\"ItemID\":\"a7cf8684-41a0-3dd4-e30c-6f9b4b34e635\",\"Amount\":1},\"BasePrice\":2475,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":0,\"DiscountedPrice\":2475,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"e7c63390-eda7-46e0-bb7a-a6abdacd2433\",\"ItemID\":\"12831559-44ee-c708-b97c-29a43938e3cd\",\"Amount\":1},\"BasePrice\":2475,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":0,\"DiscountedPrice\":2475,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"e7c63390-eda7-46e0-bb7a-a6abdacd2433\",\"ItemID\":\"5eb7515f-40a1-2f15-de03-c9a024664737\",\"Amount\":1},\"BasePrice\":2475,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":0,\"DiscountedPrice\":2475,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"e7c63390-eda7-46e0-bb7a-a6abdacd2433\",\"ItemID\":\"47897cd1-49e2-da3f-4a8f-b6a1e84b0dd0\",\"Amount\":1},\"BasePrice\":4950,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":1,\"DiscountedPrice\":0,\"IsPromoItem\":false}],\"DurationRemainingInSeconds\":426886,\"WholesaleOnly\":false},\"Bundles\":[{\"ID\":\"66def9e4-cea3-4315-87b5-1a0d3859cee5\",\"DataAssetID\":\"ab83f73d-485f-e010-8ea0-24b538468a1a\",\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"Items\":[{\"Item\":{\"ItemTypeID\":\"dd3bf334-87f3-40bd-b043-682a57a8dc3a\",\"ItemID\":\"6607dba5-4cb8-d860-3010-708bcbcbe808\",\"Amount\":2},\"BasePrice\":475,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":1,\"DiscountedPrice\":0,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"3f296c07-64c3-494c-923b-fe692a4fa1bd\",\"ItemID\":\"66554177-4970-fea5-22d2-c0bd8514888c\",\"Amount\":1},\"BasePrice\":375,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":1,\"DiscountedPrice\":0,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"d5f120f8-ff8c-4aac-92ea-f2b5acbe9475\",\"ItemID\":\"e428e9d5-4912-ffac-031b-f293375cd14d\",\"Amount\":1},\"BasePrice\":325,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":1,\"DiscountedPrice\":0,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"e7c63390-eda7-46e0-bb7a-a6abdacd2433\",\"ItemID\":\"544ddf0f-42c6-e410-c9db-fc8b3b2c84d4\",\"Amount\":1},\"BasePrice\":2475,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":0,\"DiscountedPrice\":2475,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"e7c63390-eda7-46e0-bb7a-a6abdacd2433\",\"ItemID\":\"a7cf8684-41a0-3dd4-e30c-6f9b4b34e635\",\"Amount\":1},\"BasePrice\":2475,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":0,\"DiscountedPrice\":2475,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"e7c63390-eda7-46e0-bb7a-a6abdacd2433\",\"ItemID\":\"12831559-44ee-c708-b97c-29a43938e3cd\",\"Amount\":1},\"BasePrice\":2475,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":0,\"DiscountedPrice\":2475,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"e7c63390-eda7-46e0-bb7a-a6abdacd2433\",\"ItemID\":\"5eb7515f-40a1-2f15-de03-c9a024664737\",\"Amount\":1},\"BasePrice\":2475,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":0,\"DiscountedPrice\":2475,\"IsPromoItem\":false},{\"Item\":{\"ItemTypeID\":\"e7c63390-eda7-46e0-bb7a-a6abdacd2433\",\"ItemID\":\"47897cd1-49e2-da3f-4a8f-b6a1e84b0dd0\",\"Amount\":1},\"BasePrice\":4950,\"CurrencyID\":\"85ad13f7-3d1b-5128-9eb2-7cd8ee0b5741\",\"DiscountPercent\":1,\"DiscountedPrice\":0,\"IsPromoItem\":false}],\"DurationRemainingInSeconds\":426886,\"WholesaleOnly\":false}],\"BundleRemainingDurationInSeconds\":426886},\"SkinsPanelLayout\":{\"SingleItemOffers\":[\"f35f6e13-4b7b-da38-c0de-5c91fffd584b\",\"df639108-4e9d-7fc1-51da-4dbb810ba011\",\"6e37a33a-416e-fcc0-ceb8-7784e18fbfe9\",\"4e4ebb8d-41d0-c326-595a-1f9b257e91fa\"],\"SingleItemOffersRemainingDurationInSeconds\":2086}}\n"
|
268
|
+
}
|
269
|
+
},
|
270
|
+
"recorded_at": "Fri, 28 Jan 2022 23:25:14 GMT"
|
271
|
+
}
|
272
|
+
],
|
273
|
+
"recorded_with": "VCR 6.0.0"
|
274
|
+
}
|
@@ -0,0 +1,175 @@
|
|
1
|
+
{
|
2
|
+
"http_interactions": [
|
3
|
+
{
|
4
|
+
"request": {
|
5
|
+
"method": "post",
|
6
|
+
"uri": "https://auth.riotgames.com/api/v1/authorization",
|
7
|
+
"body": {
|
8
|
+
"encoding": "UTF-8",
|
9
|
+
"string": "{\"nonce\":\"1\",\"client_id\":\"play-valorant-web-prod\",\"redirect_uri\":\"https://playvalorant.com/opt_in\",\"response_type\":\"token id_token\"}"
|
10
|
+
},
|
11
|
+
"headers": {
|
12
|
+
"User-Agent": [
|
13
|
+
"RiotClient/43.0.1.4195386.4190634 rso-auth (Windows;10;;Professional, x64)"
|
14
|
+
],
|
15
|
+
"Content-Type": ["application/json"],
|
16
|
+
"Accept-Encoding": ["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],
|
17
|
+
"Accept": ["*/*"]
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"response": {
|
21
|
+
"status": {
|
22
|
+
"code": 200,
|
23
|
+
"message": "OK"
|
24
|
+
},
|
25
|
+
"headers": {
|
26
|
+
"Date": ["Fri, 28 Jan 2022 23:25:11 GMT"],
|
27
|
+
"Content-Type": ["application/json; charset=utf-8"],
|
28
|
+
"Content-Length": ["31"],
|
29
|
+
"Connection": ["keep-alive"],
|
30
|
+
"Cache-Control": [
|
31
|
+
"no-store, no-cache, must-revalidate, proxy-revalidate"
|
32
|
+
],
|
33
|
+
"Etag": ["W/\"1f-YDrzkZDFynr/UugAD0CjFX4MZHA\""],
|
34
|
+
"Expires": ["0"],
|
35
|
+
"Pragma": ["no-cache"],
|
36
|
+
"Set-Cookie": [
|
37
|
+
"__cf_bm=M4f7g4Hwzhombr7Q.GsEcI2..CIMgwvA_.hny0Ej4QQ-1643412311-0-AQzWbh3zeThanPzR9icAb2/WRoZtaMHe3G5SsASPy/nj478d5NVPieqtzH9qEFo3MOxhiYON4jB8VEjB5GQVBCY=; path=/; expires=Fri, 28-Jan-22 23:55:11 GMT; domain=.riotgames.com; HttpOnly; Secure; SameSite=None",
|
38
|
+
"asid=xxxxx; Path=/; HttpOnly; Secure; SameSite=Strict",
|
39
|
+
"clid=ec1; Path=/; HttpOnly; Secure",
|
40
|
+
"tdid=xxxxx; Max-Age=31536000; Domain=riotgames.com; Path=/; Expires=Sat, 28 Jan 2023 23:25:11 GMT; HttpOnly; Secure"
|
41
|
+
],
|
42
|
+
"Surrogate-Control": ["no-store"],
|
43
|
+
"Vary": ["Accept-Encoding"],
|
44
|
+
"X-Content-Type-Options": ["nosniff"],
|
45
|
+
"X-Download-Options": ["noopen"],
|
46
|
+
"Cf-Cache-Status": ["DYNAMIC"],
|
47
|
+
"Expect-Ct": [
|
48
|
+
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""
|
49
|
+
],
|
50
|
+
"X-Riotgames-Cdn": ["Cloudflare"],
|
51
|
+
"Server": ["cloudflare"],
|
52
|
+
"Cf-Ray": ["6d4dfa829be4cc93-WAW"]
|
53
|
+
},
|
54
|
+
"body": {
|
55
|
+
"encoding": "UTF-8",
|
56
|
+
"string": "{\"type\":\"auth\",\"country\":\"pol\"}"
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"recorded_at": "Fri, 28 Jan 2022 23:25:12 GMT"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"request": {
|
63
|
+
"method": "put",
|
64
|
+
"uri": "https://auth.riotgames.com/api/v1/authorization",
|
65
|
+
"body": {
|
66
|
+
"encoding": "UTF-8",
|
67
|
+
"string": "{\"type\":\"auth\",\"username\":\"xxxxx\",\"password\":\"xxxxx\"}"
|
68
|
+
},
|
69
|
+
"headers": {
|
70
|
+
"User-Agent": [
|
71
|
+
"RiotClient/43.0.1.4195386.4190634 rso-auth (Windows;10;;Professional, x64)"
|
72
|
+
],
|
73
|
+
"Cookie": [
|
74
|
+
"__cf_bm=M4f7g4Hwzhombr7Q.GsEcI2..CIMgwvA_.hny0Ej4QQ-1643412311-0-AQzWbh3zeThanPzR9icAb2/WRoZtaMHe3G5SsASPy/nj478d5NVPieqtzH9qEFo3MOxhiYON4jB8VEjB5GQVBCY=; asid=xxxxx; clid=ec1; tdid=xxxxx"
|
75
|
+
],
|
76
|
+
"Content-Type": ["application/json"],
|
77
|
+
"Accept-Encoding": ["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],
|
78
|
+
"Accept": ["*/*"]
|
79
|
+
}
|
80
|
+
},
|
81
|
+
"response": {
|
82
|
+
"status": {
|
83
|
+
"code": 200,
|
84
|
+
"message": "OK"
|
85
|
+
},
|
86
|
+
"headers": {
|
87
|
+
"Date": ["Fri, 28 Jan 2022 23:25:12 GMT"],
|
88
|
+
"Content-Type": ["application/json; charset=utf-8"],
|
89
|
+
"Transfer-Encoding": ["chunked"],
|
90
|
+
"Connection": ["keep-alive"],
|
91
|
+
"Cache-Control": [
|
92
|
+
"no-store, no-cache, must-revalidate, proxy-revalidate"
|
93
|
+
],
|
94
|
+
"Etag": ["W/\"577-6lxnlkEmmg2+CbF/hy4hEgbhPqM\""],
|
95
|
+
"Expires": ["0"],
|
96
|
+
"Pragma": ["no-cache"],
|
97
|
+
"Set-Cookie": [
|
98
|
+
"asid=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT; HttpOnly; Secure",
|
99
|
+
"clid=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT; HttpOnly; Secure",
|
100
|
+
"clid=ec1; Path=/; HttpOnly; Secure",
|
101
|
+
"csid=xxxxx; Path=/; Secure; SameSite=None",
|
102
|
+
"ssid=xxxxx; Path=/; HttpOnly; Secure; SameSite=None",
|
103
|
+
"sub=xxxxx; Path=/; Secure",
|
104
|
+
"tdid=xxxxx; Max-Age=31536000; Domain=riotgames.com; Path=/; Expires=Sat, 28 Jan 2023 23:25:11 GMT; HttpOnly; Secure"
|
105
|
+
],
|
106
|
+
"Surrogate-Control": ["no-store"],
|
107
|
+
"Vary": ["Accept-Encoding"],
|
108
|
+
"X-Content-Type-Options": ["nosniff"],
|
109
|
+
"X-Download-Options": ["noopen"],
|
110
|
+
"Cf-Cache-Status": ["DYNAMIC"],
|
111
|
+
"Expect-Ct": [
|
112
|
+
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""
|
113
|
+
],
|
114
|
+
"X-Riotgames-Cdn": ["Cloudflare"],
|
115
|
+
"Server": ["cloudflare"],
|
116
|
+
"Cf-Ray": ["6d4dfa83bcab0030-WAW"]
|
117
|
+
},
|
118
|
+
"body": {
|
119
|
+
"encoding": "ASCII-8BIT",
|
120
|
+
"string": "{\"type\":\"response\",\"response\":{\"mode\":\"fragment\",\"parameters\":{\"uri\":\"https://playvalorant.com/opt_in#access_token=xxxxx&scope=openid&iss=https%3A%2F%2Fauth.riotgames.com&id_token=xxxxx&token_type=Bearer&session_state=yRySr1jVDGX8RwPQM317R_GP7UAFNjqB5CeYjKH7W58.wD4NWOlrASbfPZZQTWCqHg&expires_in=3600\"}},\"country\":\"pol\"}"
|
121
|
+
}
|
122
|
+
},
|
123
|
+
"recorded_at": "Fri, 28 Jan 2022 23:25:13 GMT"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"request": {
|
127
|
+
"method": "post",
|
128
|
+
"uri": "https://entitlements.auth.riotgames.com/api/token/v1",
|
129
|
+
"body": {
|
130
|
+
"encoding": "UTF-8",
|
131
|
+
"string": "{}"
|
132
|
+
},
|
133
|
+
"headers": {
|
134
|
+
"Authorization": ["Bearer xxxxx"],
|
135
|
+
"User-Agent": [
|
136
|
+
"RiotClient/43.0.1.4195386.4190634 rso-auth (Windows;10;;Professional, x64)"
|
137
|
+
],
|
138
|
+
"Content-Type": ["application/json"],
|
139
|
+
"Accept-Encoding": ["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],
|
140
|
+
"Accept": ["*/*"]
|
141
|
+
}
|
142
|
+
},
|
143
|
+
"response": {
|
144
|
+
"status": {
|
145
|
+
"code": 200,
|
146
|
+
"message": "OK"
|
147
|
+
},
|
148
|
+
"headers": {
|
149
|
+
"Date": ["Fri, 28 Jan 2022 23:25:12 GMT"],
|
150
|
+
"Content-Type": ["application/json"],
|
151
|
+
"Content-Length": ["534"],
|
152
|
+
"Connection": ["keep-alive"],
|
153
|
+
"Access-Control-Allow-Origin": ["*"],
|
154
|
+
"Vary": ["Accept-Encoding"],
|
155
|
+
"Cf-Cache-Status": ["DYNAMIC"],
|
156
|
+
"Expect-Ct": [
|
157
|
+
"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""
|
158
|
+
],
|
159
|
+
"X-Riotgames-Cdn": ["Cloudflare"],
|
160
|
+
"Set-Cookie": [
|
161
|
+
"__cf_bm=zU6db5_C.24bQUJJvR13mnjurGH24lelrSOHg_jqalw-1643412312-0-AYVgFoAZFmMif2eN7jZtmN3JHb/7F66VXoUneFPiSVdrnyFNCyZcKPMFph4VKm1EsERMIM97N1+DVBN8v9n3/NY=; path=/; expires=Fri, 28-Jan-22 23:55:12 GMT; domain=.riotgames.com; HttpOnly; Secure; SameSite=None"
|
162
|
+
],
|
163
|
+
"Server": ["cloudflare"],
|
164
|
+
"Cf-Ray": ["6d4dfa8baf095037-WAW"]
|
165
|
+
},
|
166
|
+
"body": {
|
167
|
+
"encoding": "ASCII-8BIT",
|
168
|
+
"string": "{\"entitlements_token\":\"xxxxx\"}"
|
169
|
+
}
|
170
|
+
},
|
171
|
+
"recorded_at": "Fri, 28 Jan 2022 23:25:13 GMT"
|
172
|
+
}
|
173
|
+
],
|
174
|
+
"recorded_with": "VCR 6.0.0"
|
175
|
+
}
|