You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**ExampleApiClient** is a third party [Example API](https://example.com/docs/) client for NodeJS. It is a wrapper around an API client that has been [automatically generated](https://www.npmjs.com/package/swagger-typescript-api) using the [OpenAPI schema](https://example.com/openapi.json) provided by Example.
3
+
**Fivaldi Api Client** is a third party [Fivaldi API](https://manuals.fivaldi.net/customer/api/index.html) client for NodeJS. It is a wrapper around an API client that has been [automatically generated](https://www.npmjs.com/package/swagger-typescript-api) using the [OpenAPI schema](https://manuals.fivaldi.net/customer/api/swagger.yaml) provided by Fivaldi.
In order to obtain an API key, please contact Example Support. An API key is needed to access all API functions.
21
+
In order to obtain partner ID and partner secret, please contact Fivaldi Support. Partner id and partner secret are needed to access API functions. More information from [Fivaldi docs](https://support.fivaldi.fi/support/solutions/articles/77000567542-fivaldi-api).
22
22
23
-
```javascript
24
-
constexample=newExampleApiClient(
23
+
```typescript
24
+
constfivaldi=newFivaldiApiClient(
25
25
{
26
-
apiKey:'api_key'
26
+
partnerId: 'yourPartnerId',
27
+
partnerSecret: 'yourPartnerSecret',
28
+
// Optional arguments related to rate limiting
29
+
replenishRate: 2,
30
+
burstCapacity: 10
27
31
},
28
32
{
29
-
baseURL:'https://dev.example.com'
33
+
// Optional config options
34
+
baseURL: 'https://api.fivaldi.net/customer/api',
35
+
timeout: 120000,
36
+
keepAliveAgent: true,
37
+
dnsCache: true
30
38
}
31
39
);
32
40
```
33
41
34
-
Available methods can be found in the [API documentation](https://example.com/docs/).
42
+
Available methods can be found in the [API documentation](https://manuals.fivaldi.net/customer/api/swagger.yaml).
35
43
36
44
## Resources
37
45
38
-
- Example: https://example.com/
39
-
- Example Developer Guide: https://example.com/docs/
0 commit comments