wildberries-sdk 0.1.4 → 0.1.9

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 (2) hide show
  1. package/README.md +17 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,17 +13,21 @@ npm install wildberries-sdk
13
13
  ```ts
14
14
  import { Configuration, DefaultApi } from "wildberries-sdk/communications";
15
15
 
16
- const config = new Configuration({
17
- basePath: "https://feedbacks-api.wildberries.ru",
18
- apiKey: "YOUR_TOKEN",
19
- });
20
-
21
- const api = new DefaultApi(config);
22
- const response = await api.apiV1FeedbacksGet({
23
- isAnswered: true,
24
- take: 100,
25
- skip: 0,
26
- });
27
-
28
- console.log(response);
16
+ async function main() {
17
+ const config = new Configuration({
18
+ basePath: "https://feedbacks-api.wildberries.ru",
19
+ apiKey: "YOUR_TOKEN",
20
+ });
21
+
22
+ const api = new DefaultApi(config);
23
+ const response = await api.apiV1FeedbacksGet({
24
+ isAnswered: true,
25
+ take: 100,
26
+ skip: 0,
27
+ });
28
+
29
+ console.log(response);
30
+ }
31
+
32
+ main().catch(console.error);
29
33
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildberries-sdk",
3
- "version": "0.1.4",
3
+ "version": "0.1.9",
4
4
  "description": "Wildberries OpenAPI clients (generated).",
5
5
  "license": "MIT",
6
6
  "repository": {