@tryvital/vital-node 1.3.5 → 1.3.6
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.
package/README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
Node client for using Vital API.
|
4
4
|
|
5
|
-
|
6
5
|
### Install
|
7
6
|
|
8
7
|
With npm:
|
@@ -17,22 +16,6 @@ With yarn
|
|
17
16
|
yarn add @tryvital/vital-node
|
18
17
|
```
|
19
18
|
|
20
|
-
|
21
19
|
## Documentation
|
22
20
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
### Examples
|
27
|
-
```
|
28
|
-
const { VitalClient } = require("Vital");
|
29
|
-
|
30
|
-
const client = new VitalClient({
|
31
|
-
client_id: <CLIENT_ID>,
|
32
|
-
client_secret: <CLIENT_SECRET>,
|
33
|
-
environment: "sandbox",
|
34
|
-
});
|
35
|
-
|
36
|
-
const resp = await client.User.getUser(user_key)
|
37
|
-
const data = await resp.data
|
38
|
-
```
|
21
|
+
Please refer to the official [Vital docs](https://docs.tryvital.io) provide a full reference on using this library.
|
package/package.json
CHANGED