@steamsets/client-ts 0.19.4 → 0.19.5

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 (238) hide show
  1. package/README.md +0 -89
  2. package/docs/sdks/account/README.md +0 -204
  3. package/docs/sdks/images/README.md +0 -164
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/package.json +1 -1
  8. package/sdk/account.d.ts +0 -2
  9. package/sdk/account.d.ts.map +1 -1
  10. package/sdk/account.js +0 -8
  11. package/sdk/account.js.map +1 -1
  12. package/sdk/images.d.ts +0 -2
  13. package/sdk/images.d.ts.map +1 -1
  14. package/sdk/images.js +0 -8
  15. package/sdk/images.js.map +1 -1
  16. package/sdk/sdk.d.ts +2 -17
  17. package/sdk/sdk.d.ts.map +1 -1
  18. package/sdk/sdk.js +2 -22
  19. package/sdk/sdk.js.map +1 -1
  20. package/src/lib/config.ts +2 -2
  21. package/src/sdk/account.ts +0 -24
  22. package/src/sdk/images.ts +0 -24
  23. package/src/sdk/sdk.ts +3 -33
  24. package/docs/sdks/data/README.md +0 -520
  25. package/docs/sdks/developer/README.md +0 -252
  26. package/docs/sdks/event/README.md +0 -80
  27. package/docs/sdks/external/README.md +0 -596
  28. package/docs/sdks/internal/README.md +0 -1137
  29. package/funcs/accountGetAccount.d.ts +0 -12
  30. package/funcs/accountGetAccount.d.ts.map +0 -1
  31. package/funcs/accountGetAccount.js +0 -118
  32. package/funcs/accountGetAccount.js.map +0 -1
  33. package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.d.ts +0 -12
  34. package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.d.ts.map +0 -1
  35. package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.js +0 -116
  36. package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.js.map +0 -1
  37. package/funcs/dataAccountV1GetMeta.d.ts +0 -12
  38. package/funcs/dataAccountV1GetMeta.d.ts.map +0 -1
  39. package/funcs/dataAccountV1GetMeta.js +0 -118
  40. package/funcs/dataAccountV1GetMeta.js.map +0 -1
  41. package/funcs/dataGetApps.d.ts +0 -12
  42. package/funcs/dataGetApps.d.ts.map +0 -1
  43. package/funcs/dataGetApps.js +0 -118
  44. package/funcs/dataGetApps.js.map +0 -1
  45. package/funcs/dataGetBadges.d.ts +0 -12
  46. package/funcs/dataGetBadges.d.ts.map +0 -1
  47. package/funcs/dataGetBadges.js +0 -118
  48. package/funcs/dataGetBadges.js.map +0 -1
  49. package/funcs/dataGetDataPoints.d.ts +0 -12
  50. package/funcs/dataGetDataPoints.d.ts.map +0 -1
  51. package/funcs/dataGetDataPoints.js +0 -118
  52. package/funcs/dataGetDataPoints.js.map +0 -1
  53. package/funcs/dataGetFriends.d.ts +0 -12
  54. package/funcs/dataGetFriends.d.ts.map +0 -1
  55. package/funcs/dataGetFriends.js +0 -118
  56. package/funcs/dataGetFriends.js.map +0 -1
  57. package/funcs/dataGetInfo.d.ts +0 -12
  58. package/funcs/dataGetInfo.d.ts.map +0 -1
  59. package/funcs/dataGetInfo.js +0 -118
  60. package/funcs/dataGetInfo.js.map +0 -1
  61. package/funcs/dataGetLeaderboardHistory.d.ts +0 -12
  62. package/funcs/dataGetLeaderboardHistory.d.ts.map +0 -1
  63. package/funcs/dataGetLeaderboardHistory.js +0 -116
  64. package/funcs/dataGetLeaderboardHistory.js.map +0 -1
  65. package/funcs/developerCreateDeveloperApp.d.ts +0 -12
  66. package/funcs/developerCreateDeveloperApp.d.ts.map +0 -1
  67. package/funcs/developerCreateDeveloperApp.js +0 -116
  68. package/funcs/developerCreateDeveloperApp.js.map +0 -1
  69. package/funcs/developerDeleteDeveloperApp.d.ts +0 -12
  70. package/funcs/developerDeleteDeveloperApp.d.ts.map +0 -1
  71. package/funcs/developerDeleteDeveloperApp.js +0 -116
  72. package/funcs/developerDeleteDeveloperApp.js.map +0 -1
  73. package/funcs/developerUpdateApp.d.ts +0 -12
  74. package/funcs/developerUpdateApp.d.ts.map +0 -1
  75. package/funcs/developerUpdateApp.js +0 -116
  76. package/funcs/developerUpdateApp.js.map +0 -1
  77. package/funcs/eventAdminV1RemoveVanity.d.ts +0 -12
  78. package/funcs/eventAdminV1RemoveVanity.d.ts.map +0 -1
  79. package/funcs/eventAdminV1RemoveVanity.js +0 -118
  80. package/funcs/eventAdminV1RemoveVanity.js.map +0 -1
  81. package/funcs/externalAppV1ListBadges.d.ts +0 -12
  82. package/funcs/externalAppV1ListBadges.d.ts.map +0 -1
  83. package/funcs/externalAppV1ListBadges.js +0 -118
  84. package/funcs/externalAppV1ListBadges.js.map +0 -1
  85. package/funcs/externalGet.d.ts +0 -11
  86. package/funcs/externalGet.d.ts.map +0 -1
  87. package/funcs/externalGet.js +0 -107
  88. package/funcs/externalGet.js.map +0 -1
  89. package/funcs/externalGetApps.d.ts +0 -12
  90. package/funcs/externalGetApps.d.ts.map +0 -1
  91. package/funcs/externalGetApps.js +0 -118
  92. package/funcs/externalGetApps.js.map +0 -1
  93. package/funcs/externalGetBadges.d.ts +0 -12
  94. package/funcs/externalGetBadges.d.ts.map +0 -1
  95. package/funcs/externalGetBadges.js +0 -118
  96. package/funcs/externalGetBadges.js.map +0 -1
  97. package/funcs/externalGetDataPoints.d.ts +0 -12
  98. package/funcs/externalGetDataPoints.d.ts.map +0 -1
  99. package/funcs/externalGetDataPoints.js +0 -118
  100. package/funcs/externalGetDataPoints.js.map +0 -1
  101. package/funcs/externalGetFriends.d.ts +0 -12
  102. package/funcs/externalGetFriends.d.ts.map +0 -1
  103. package/funcs/externalGetFriends.js +0 -118
  104. package/funcs/externalGetFriends.js.map +0 -1
  105. package/funcs/externalGetInfo.d.ts +0 -12
  106. package/funcs/externalGetInfo.d.ts.map +0 -1
  107. package/funcs/externalGetInfo.js +0 -118
  108. package/funcs/externalGetInfo.js.map +0 -1
  109. package/funcs/externalGetLeaderboardHistory.d.ts +0 -12
  110. package/funcs/externalGetLeaderboardHistory.d.ts.map +0 -1
  111. package/funcs/externalGetLeaderboardHistory.js +0 -116
  112. package/funcs/externalGetLeaderboardHistory.js.map +0 -1
  113. package/funcs/imagesDeleteImages.d.ts +0 -12
  114. package/funcs/imagesDeleteImages.d.ts.map +0 -1
  115. package/funcs/imagesDeleteImages.js +0 -118
  116. package/funcs/imagesDeleteImages.js.map +0 -1
  117. package/funcs/imagesUploadImages.d.ts +0 -12
  118. package/funcs/imagesUploadImages.d.ts.map +0 -1
  119. package/funcs/imagesUploadImages.js +0 -118
  120. package/funcs/imagesUploadImages.js.map +0 -1
  121. package/funcs/internalAccountV1GetMeta.d.ts +0 -12
  122. package/funcs/internalAccountV1GetMeta.d.ts.map +0 -1
  123. package/funcs/internalAccountV1GetMeta.js +0 -118
  124. package/funcs/internalAccountV1GetMeta.js.map +0 -1
  125. package/funcs/internalAdminV1RemoveVanity.d.ts +0 -12
  126. package/funcs/internalAdminV1RemoveVanity.d.ts.map +0 -1
  127. package/funcs/internalAdminV1RemoveVanity.js +0 -118
  128. package/funcs/internalAdminV1RemoveVanity.js.map +0 -1
  129. package/funcs/internalBadgeV1SearchSuggest.d.ts +0 -12
  130. package/funcs/internalBadgeV1SearchSuggest.d.ts.map +0 -1
  131. package/funcs/internalBadgeV1SearchSuggest.js +0 -118
  132. package/funcs/internalBadgeV1SearchSuggest.js.map +0 -1
  133. package/funcs/internalBadgeV1TagsSuggest.d.ts +0 -12
  134. package/funcs/internalBadgeV1TagsSuggest.d.ts.map +0 -1
  135. package/funcs/internalBadgeV1TagsSuggest.js +0 -118
  136. package/funcs/internalBadgeV1TagsSuggest.js.map +0 -1
  137. package/funcs/internalCheck.d.ts +0 -17
  138. package/funcs/internalCheck.d.ts.map +0 -1
  139. package/funcs/internalCheck.js +0 -111
  140. package/funcs/internalCheck.js.map +0 -1
  141. package/funcs/internalCreateDeveloperApp.d.ts +0 -12
  142. package/funcs/internalCreateDeveloperApp.d.ts.map +0 -1
  143. package/funcs/internalCreateDeveloperApp.js +0 -116
  144. package/funcs/internalCreateDeveloperApp.js.map +0 -1
  145. package/funcs/internalDeleteDeveloperApp.d.ts +0 -12
  146. package/funcs/internalDeleteDeveloperApp.d.ts.map +0 -1
  147. package/funcs/internalDeleteDeveloperApp.js +0 -116
  148. package/funcs/internalDeleteDeveloperApp.js.map +0 -1
  149. package/funcs/internalDeleteImages.d.ts +0 -12
  150. package/funcs/internalDeleteImages.d.ts.map +0 -1
  151. package/funcs/internalDeleteImages.js +0 -118
  152. package/funcs/internalDeleteImages.js.map +0 -1
  153. package/funcs/internalGetAccount.d.ts +0 -12
  154. package/funcs/internalGetAccount.d.ts.map +0 -1
  155. package/funcs/internalGetAccount.js +0 -118
  156. package/funcs/internalGetAccount.js.map +0 -1
  157. package/funcs/internalGetStaff.d.ts +0 -11
  158. package/funcs/internalGetStaff.d.ts.map +0 -1
  159. package/funcs/internalGetStaff.js +0 -107
  160. package/funcs/internalGetStaff.js.map +0 -1
  161. package/funcs/internalGetTags.d.ts +0 -11
  162. package/funcs/internalGetTags.d.ts.map +0 -1
  163. package/funcs/internalGetTags.js +0 -107
  164. package/funcs/internalGetTags.js.map +0 -1
  165. package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.d.ts +0 -12
  166. package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.d.ts.map +0 -1
  167. package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.js +0 -116
  168. package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.js.map +0 -1
  169. package/funcs/internalUpdateApp.d.ts +0 -12
  170. package/funcs/internalUpdateApp.d.ts.map +0 -1
  171. package/funcs/internalUpdateApp.js +0 -116
  172. package/funcs/internalUpdateApp.js.map +0 -1
  173. package/funcs/internalUploadImages.d.ts +0 -12
  174. package/funcs/internalUploadImages.d.ts.map +0 -1
  175. package/funcs/internalUploadImages.js +0 -118
  176. package/funcs/internalUploadImages.js.map +0 -1
  177. package/sdk/data.d.ts +0 -13
  178. package/sdk/data.d.ts.map +0 -1
  179. package/sdk/data.js +0 -40
  180. package/sdk/data.js.map +0 -1
  181. package/sdk/developer.d.ts +0 -9
  182. package/sdk/developer.d.ts.map +0 -1
  183. package/sdk/developer.js +0 -24
  184. package/sdk/developer.js.map +0 -1
  185. package/sdk/event.d.ts +0 -7
  186. package/sdk/event.d.ts.map +0 -1
  187. package/sdk/event.js +0 -16
  188. package/sdk/event.js.map +0 -1
  189. package/sdk/external.d.ts +0 -14
  190. package/sdk/external.d.ts.map +0 -1
  191. package/sdk/external.js +0 -44
  192. package/sdk/external.js.map +0 -1
  193. package/sdk/internal.d.ts +0 -26
  194. package/sdk/internal.d.ts.map +0 -1
  195. package/sdk/internal.js +0 -74
  196. package/sdk/internal.js.map +0 -1
  197. package/src/funcs/accountGetAccount.ts +0 -179
  198. package/src/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.ts +0 -186
  199. package/src/funcs/dataAccountV1GetMeta.ts +0 -179
  200. package/src/funcs/dataGetApps.ts +0 -179
  201. package/src/funcs/dataGetBadges.ts +0 -179
  202. package/src/funcs/dataGetDataPoints.ts +0 -179
  203. package/src/funcs/dataGetFriends.ts +0 -179
  204. package/src/funcs/dataGetInfo.ts +0 -179
  205. package/src/funcs/dataGetLeaderboardHistory.ts +0 -181
  206. package/src/funcs/developerCreateDeveloperApp.ts +0 -182
  207. package/src/funcs/developerDeleteDeveloperApp.ts +0 -184
  208. package/src/funcs/developerUpdateApp.ts +0 -184
  209. package/src/funcs/eventAdminV1RemoveVanity.ts +0 -179
  210. package/src/funcs/externalAppV1ListBadges.ts +0 -179
  211. package/src/funcs/externalGet.ts +0 -160
  212. package/src/funcs/externalGetApps.ts +0 -179
  213. package/src/funcs/externalGetBadges.ts +0 -179
  214. package/src/funcs/externalGetDataPoints.ts +0 -179
  215. package/src/funcs/externalGetFriends.ts +0 -179
  216. package/src/funcs/externalGetInfo.ts +0 -179
  217. package/src/funcs/externalGetLeaderboardHistory.ts +0 -181
  218. package/src/funcs/imagesDeleteImages.ts +0 -179
  219. package/src/funcs/imagesUploadImages.ts +0 -179
  220. package/src/funcs/internalAccountV1GetMeta.ts +0 -179
  221. package/src/funcs/internalAdminV1RemoveVanity.ts +0 -179
  222. package/src/funcs/internalBadgeV1SearchSuggest.ts +0 -180
  223. package/src/funcs/internalBadgeV1TagsSuggest.ts +0 -180
  224. package/src/funcs/internalCheck.ts +0 -160
  225. package/src/funcs/internalCreateDeveloperApp.ts +0 -182
  226. package/src/funcs/internalDeleteDeveloperApp.ts +0 -184
  227. package/src/funcs/internalDeleteImages.ts +0 -179
  228. package/src/funcs/internalGetAccount.ts +0 -179
  229. package/src/funcs/internalGetStaff.ts +0 -160
  230. package/src/funcs/internalGetTags.ts +0 -160
  231. package/src/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.ts +0 -186
  232. package/src/funcs/internalUpdateApp.ts +0 -184
  233. package/src/funcs/internalUploadImages.ts +0 -179
  234. package/src/sdk/data.ts +0 -94
  235. package/src/sdk/developer.ts +0 -46
  236. package/src/sdk/event.ts +0 -22
  237. package/src/sdk/external.ts +0 -104
  238. package/src/sdk/internal.ts +0 -178
@@ -1,520 +0,0 @@
1
- # Data
2
- (*data*)
3
-
4
- ## Overview
5
-
6
- Data of a Steam Account that can be used to display the profile.
7
-
8
- ### Available Operations
9
-
10
- * [getApps](#getapps)
11
- * [getBadges](#getbadges)
12
- * [getDataPoints](#getdatapoints)
13
- * [getFriends](#getfriends)
14
- * [getInfo](#getinfo)
15
- * [getLeaderboardHistory](#getleaderboardhistory)
16
- * [accountV1GetMeta](#accountv1getmeta)
17
-
18
- ## getApps
19
-
20
- ### Example Usage
21
-
22
- ```typescript
23
- import { SteamSets } from "@steamsets/client-ts";
24
-
25
- const steamSets = new SteamSets({
26
- token: "<YOUR_BEARER_TOKEN_HERE>",
27
- });
28
-
29
- async function run() {
30
- const result = await steamSets.data.getApps({});
31
-
32
- // Handle the result
33
- console.log(result);
34
- }
35
-
36
- run();
37
- ```
38
-
39
- ### Standalone function
40
-
41
- The standalone function version of this method:
42
-
43
- ```typescript
44
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
45
- import { dataGetApps } from "@steamsets/client-ts/funcs/dataGetApps.js";
46
-
47
- // Use `SteamSetsCore` for best tree-shaking performance.
48
- // You can create one instance of it to use across an application.
49
- const steamSets = new SteamSetsCore({
50
- token: "<YOUR_BEARER_TOKEN_HERE>",
51
- });
52
-
53
- async function run() {
54
- const res = await dataGetApps(steamSets, {});
55
-
56
- if (!res.ok) {
57
- throw res.error;
58
- }
59
-
60
- const { value: result } = res;
61
-
62
- // Handle the result
63
- console.log(result);
64
- }
65
-
66
- run();
67
- ```
68
-
69
- ### Parameters
70
-
71
- | Parameter | Type | Required | Description |
72
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
73
- | `request` | [components.V1AccountsAppsRequestBody](../../models/components/v1accountsappsrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
74
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
75
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
76
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
77
-
78
- ### Response
79
-
80
- **Promise\<[operations.AccountV1GetAppsResponse](../../models/operations/accountv1getappsresponse.md)\>**
81
-
82
- ### Errors
83
-
84
- | Error Type | Status Code | Content Type |
85
- | ------------------------ | ------------------------ | ------------------------ |
86
- | errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
87
- | errors.ErrorModel | 500 | application/problem+json |
88
- | errors.SDKError | 4XX, 5XX | \*/\* |
89
-
90
- ## getBadges
91
-
92
- ### Example Usage
93
-
94
- ```typescript
95
- import { SteamSets } from "@steamsets/client-ts";
96
-
97
- const steamSets = new SteamSets({
98
- token: "<YOUR_BEARER_TOKEN_HERE>",
99
- });
100
-
101
- async function run() {
102
- const result = await steamSets.data.getBadges({});
103
-
104
- // Handle the result
105
- console.log(result);
106
- }
107
-
108
- run();
109
- ```
110
-
111
- ### Standalone function
112
-
113
- The standalone function version of this method:
114
-
115
- ```typescript
116
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
117
- import { dataGetBadges } from "@steamsets/client-ts/funcs/dataGetBadges.js";
118
-
119
- // Use `SteamSetsCore` for best tree-shaking performance.
120
- // You can create one instance of it to use across an application.
121
- const steamSets = new SteamSetsCore({
122
- token: "<YOUR_BEARER_TOKEN_HERE>",
123
- });
124
-
125
- async function run() {
126
- const res = await dataGetBadges(steamSets, {});
127
-
128
- if (!res.ok) {
129
- throw res.error;
130
- }
131
-
132
- const { value: result } = res;
133
-
134
- // Handle the result
135
- console.log(result);
136
- }
137
-
138
- run();
139
- ```
140
-
141
- ### Parameters
142
-
143
- | Parameter | Type | Required | Description |
144
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
145
- | `request` | [components.V1BadgesRequestBody](../../models/components/v1badgesrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
146
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
147
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
148
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
149
-
150
- ### Response
151
-
152
- **Promise\<[operations.AccountV1GetBadgesResponse](../../models/operations/accountv1getbadgesresponse.md)\>**
153
-
154
- ### Errors
155
-
156
- | Error Type | Status Code | Content Type |
157
- | ------------------------ | ------------------------ | ------------------------ |
158
- | errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
159
- | errors.ErrorModel | 500 | application/problem+json |
160
- | errors.SDKError | 4XX, 5XX | \*/\* |
161
-
162
- ## getDataPoints
163
-
164
- ### Example Usage
165
-
166
- ```typescript
167
- import { SteamSets } from "@steamsets/client-ts";
168
-
169
- const steamSets = new SteamSets({
170
- token: "<YOUR_BEARER_TOKEN_HERE>",
171
- });
172
-
173
- async function run() {
174
- const result = await steamSets.data.getDataPoints({});
175
-
176
- // Handle the result
177
- console.log(result);
178
- }
179
-
180
- run();
181
- ```
182
-
183
- ### Standalone function
184
-
185
- The standalone function version of this method:
186
-
187
- ```typescript
188
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
189
- import { dataGetDataPoints } from "@steamsets/client-ts/funcs/dataGetDataPoints.js";
190
-
191
- // Use `SteamSetsCore` for best tree-shaking performance.
192
- // You can create one instance of it to use across an application.
193
- const steamSets = new SteamSetsCore({
194
- token: "<YOUR_BEARER_TOKEN_HERE>",
195
- });
196
-
197
- async function run() {
198
- const res = await dataGetDataPoints(steamSets, {});
199
-
200
- if (!res.ok) {
201
- throw res.error;
202
- }
203
-
204
- const { value: result } = res;
205
-
206
- // Handle the result
207
- console.log(result);
208
- }
209
-
210
- run();
211
- ```
212
-
213
- ### Parameters
214
-
215
- | Parameter | Type | Required | Description |
216
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
217
- | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
218
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
219
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
220
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
221
-
222
- ### Response
223
-
224
- **Promise\<[operations.AccountV1GetDataPointsResponse](../../models/operations/accountv1getdatapointsresponse.md)\>**
225
-
226
- ### Errors
227
-
228
- | Error Type | Status Code | Content Type |
229
- | ------------------------ | ------------------------ | ------------------------ |
230
- | errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
231
- | errors.ErrorModel | 500 | application/problem+json |
232
- | errors.SDKError | 4XX, 5XX | \*/\* |
233
-
234
- ## getFriends
235
-
236
- ### Example Usage
237
-
238
- ```typescript
239
- import { SteamSets } from "@steamsets/client-ts";
240
-
241
- const steamSets = new SteamSets({
242
- token: "<YOUR_BEARER_TOKEN_HERE>",
243
- });
244
-
245
- async function run() {
246
- const result = await steamSets.data.getFriends({});
247
-
248
- // Handle the result
249
- console.log(result);
250
- }
251
-
252
- run();
253
- ```
254
-
255
- ### Standalone function
256
-
257
- The standalone function version of this method:
258
-
259
- ```typescript
260
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
261
- import { dataGetFriends } from "@steamsets/client-ts/funcs/dataGetFriends.js";
262
-
263
- // Use `SteamSetsCore` for best tree-shaking performance.
264
- // You can create one instance of it to use across an application.
265
- const steamSets = new SteamSetsCore({
266
- token: "<YOUR_BEARER_TOKEN_HERE>",
267
- });
268
-
269
- async function run() {
270
- const res = await dataGetFriends(steamSets, {});
271
-
272
- if (!res.ok) {
273
- throw res.error;
274
- }
275
-
276
- const { value: result } = res;
277
-
278
- // Handle the result
279
- console.log(result);
280
- }
281
-
282
- run();
283
- ```
284
-
285
- ### Parameters
286
-
287
- | Parameter | Type | Required | Description |
288
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
289
- | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
290
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
291
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
292
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
293
-
294
- ### Response
295
-
296
- **Promise\<[operations.AccountV1GetFriendsResponse](../../models/operations/accountv1getfriendsresponse.md)\>**
297
-
298
- ### Errors
299
-
300
- | Error Type | Status Code | Content Type |
301
- | ------------------------ | ------------------------ | ------------------------ |
302
- | errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
303
- | errors.ErrorModel | 500 | application/problem+json |
304
- | errors.SDKError | 4XX, 5XX | \*/\* |
305
-
306
- ## getInfo
307
-
308
- ### Example Usage
309
-
310
- ```typescript
311
- import { SteamSets } from "@steamsets/client-ts";
312
-
313
- const steamSets = new SteamSets({
314
- token: "<YOUR_BEARER_TOKEN_HERE>",
315
- });
316
-
317
- async function run() {
318
- const result = await steamSets.data.getInfo({});
319
-
320
- // Handle the result
321
- console.log(result);
322
- }
323
-
324
- run();
325
- ```
326
-
327
- ### Standalone function
328
-
329
- The standalone function version of this method:
330
-
331
- ```typescript
332
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
333
- import { dataGetInfo } from "@steamsets/client-ts/funcs/dataGetInfo.js";
334
-
335
- // Use `SteamSetsCore` for best tree-shaking performance.
336
- // You can create one instance of it to use across an application.
337
- const steamSets = new SteamSetsCore({
338
- token: "<YOUR_BEARER_TOKEN_HERE>",
339
- });
340
-
341
- async function run() {
342
- const res = await dataGetInfo(steamSets, {});
343
-
344
- if (!res.ok) {
345
- throw res.error;
346
- }
347
-
348
- const { value: result } = res;
349
-
350
- // Handle the result
351
- console.log(result);
352
- }
353
-
354
- run();
355
- ```
356
-
357
- ### Parameters
358
-
359
- | Parameter | Type | Required | Description |
360
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
361
- | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
362
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
363
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
364
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
365
-
366
- ### Response
367
-
368
- **Promise\<[operations.AccountV1GetInfoResponse](../../models/operations/accountv1getinforesponse.md)\>**
369
-
370
- ### Errors
371
-
372
- | Error Type | Status Code | Content Type |
373
- | ------------------------ | ------------------------ | ------------------------ |
374
- | errors.ErrorModel | 403, 404, 422, 429 | application/problem+json |
375
- | errors.ErrorModel | 500 | application/problem+json |
376
- | errors.SDKError | 4XX, 5XX | \*/\* |
377
-
378
- ## getLeaderboardHistory
379
-
380
- ### Example Usage
381
-
382
- ```typescript
383
- import { SteamSets } from "@steamsets/client-ts";
384
-
385
- const steamSets = new SteamSets({
386
- token: "<YOUR_BEARER_TOKEN_HERE>",
387
- });
388
-
389
- async function run() {
390
- const result = await steamSets.data.getLeaderboardHistory({});
391
-
392
- // Handle the result
393
- console.log(result);
394
- }
395
-
396
- run();
397
- ```
398
-
399
- ### Standalone function
400
-
401
- The standalone function version of this method:
402
-
403
- ```typescript
404
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
405
- import { dataGetLeaderboardHistory } from "@steamsets/client-ts/funcs/dataGetLeaderboardHistory.js";
406
-
407
- // Use `SteamSetsCore` for best tree-shaking performance.
408
- // You can create one instance of it to use across an application.
409
- const steamSets = new SteamSetsCore({
410
- token: "<YOUR_BEARER_TOKEN_HERE>",
411
- });
412
-
413
- async function run() {
414
- const res = await dataGetLeaderboardHistory(steamSets, {});
415
-
416
- if (!res.ok) {
417
- throw res.error;
418
- }
419
-
420
- const { value: result } = res;
421
-
422
- // Handle the result
423
- console.log(result);
424
- }
425
-
426
- run();
427
- ```
428
-
429
- ### Parameters
430
-
431
- | Parameter | Type | Required | Description |
432
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
433
- | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
434
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
435
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
436
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
437
-
438
- ### Response
439
-
440
- **Promise\<[operations.AccountV1GetLeaderboardHistoryResponse](../../models/operations/accountv1getleaderboardhistoryresponse.md)\>**
441
-
442
- ### Errors
443
-
444
- | Error Type | Status Code | Content Type |
445
- | ------------------------ | ------------------------ | ------------------------ |
446
- | errors.ErrorModel | 400, 403, 404, 422 | application/problem+json |
447
- | errors.ErrorModel | 500 | application/problem+json |
448
- | errors.SDKError | 4XX, 5XX | \*/\* |
449
-
450
- ## accountV1GetMeta
451
-
452
- ### Example Usage
453
-
454
- ```typescript
455
- import { SteamSets } from "@steamsets/client-ts";
456
-
457
- const steamSets = new SteamSets({
458
- token: "<YOUR_BEARER_TOKEN_HERE>",
459
- });
460
-
461
- async function run() {
462
- const result = await steamSets.data.accountV1GetMeta({});
463
-
464
- // Handle the result
465
- console.log(result);
466
- }
467
-
468
- run();
469
- ```
470
-
471
- ### Standalone function
472
-
473
- The standalone function version of this method:
474
-
475
- ```typescript
476
- import { SteamSetsCore } from "@steamsets/client-ts/core.js";
477
- import { dataAccountV1GetMeta } from "@steamsets/client-ts/funcs/dataAccountV1GetMeta.js";
478
-
479
- // Use `SteamSetsCore` for best tree-shaking performance.
480
- // You can create one instance of it to use across an application.
481
- const steamSets = new SteamSetsCore({
482
- token: "<YOUR_BEARER_TOKEN_HERE>",
483
- });
484
-
485
- async function run() {
486
- const res = await dataAccountV1GetMeta(steamSets, {});
487
-
488
- if (!res.ok) {
489
- throw res.error;
490
- }
491
-
492
- const { value: result } = res;
493
-
494
- // Handle the result
495
- console.log(result);
496
- }
497
-
498
- run();
499
- ```
500
-
501
- ### Parameters
502
-
503
- | Parameter | Type | Required | Description |
504
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
505
- | `request` | [components.AccountSearch](../../models/components/accountsearch.md) | :heavy_check_mark: | The request object to use for the request. |
506
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
507
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
508
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
509
-
510
- ### Response
511
-
512
- **Promise\<[operations.AccountV1GetMetaResponse](../../models/operations/accountv1getmetaresponse.md)\>**
513
-
514
- ### Errors
515
-
516
- | Error Type | Status Code | Content Type |
517
- | ------------------------ | ------------------------ | ------------------------ |
518
- | errors.ErrorModel | 404, 422 | application/problem+json |
519
- | errors.ErrorModel | 500 | application/problem+json |
520
- | errors.SDKError | 4XX, 5XX | \*/\* |