Skip to content

Commit 47bbc90

Browse files
authored
Merge pull request #9 from sendinblue/feature_package-rename
Package renamed
2 parents 7d59431 + 9c6aeb3 commit 47bbc90

File tree

476 files changed

+2808
-2595
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

476 files changed

+2808
-2595
lines changed

README.md

+253-251
Large diffs are not rendered by default.

docs/AccountApi.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SendinBlueApi.AccountApi
1+
# SibApiV3Sdk.AccountApi
22

33
All URIs are relative to *https://api.sendinblue.com/v3*
44

@@ -15,14 +15,16 @@ Get your account informations, plans and credits details
1515

1616
### Example
1717
```javascript
18-
var SendinBlueApi = require('sendin_blue_api');
19-
var defaultClient = SendinBlueApi.ApiClient.instance;
18+
var SibApiV3Sdk = require('sib-api-v3-sdk');
19+
var defaultClient = SibApiV3Sdk.ApiClient.instance;
2020

2121
// Configure API key authorization: api-key
2222
var apiKey = defaultClient.authentications['api-key'];
2323
apiKey.apiKey = 'YOUR API KEY';
24+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
25+
//apiKey.apiKeyPrefix = 'Token';
2426

25-
var apiInstance = new SendinBlueApi.AccountApi();
27+
var apiInstance = new SibApiV3Sdk.AccountApi();
2628
apiInstance.getAccount().then(function(data) {
2729
console.log('API called successfully. Returned data: ' + data);
2830
}, function(error) {

docs/AddCredits.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SendinBlueApi.AddCredits
1+
# SibApiV3Sdk.AddCredits
22

33
## Properties
44
Name | Type | Description | Notes

docs/AddRemoveContactToList.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SendinBlueApi.AddRemoveContactToList
1+
# SibApiV3Sdk.AddRemoveContactToList
22

33
## Properties
44
Name | Type | Description | Notes

docs/AttributesApi.md

+17-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SendinBlueApi.AttributesApi
1+
# SibApiV3Sdk.AttributesApi
22

33
All URIs are relative to *https://api.sendinblue.com/v3*
44

@@ -17,16 +17,18 @@ Creates contact attributes
1717

1818
### Example
1919
```javascript
20-
var SendinBlueApi = require('sendin_blue_api');
21-
var defaultClient = SendinBlueApi.ApiClient.instance;
20+
var SibApiV3Sdk = require('sib-api-v3-sdk');
21+
var defaultClient = SibApiV3Sdk.ApiClient.instance;
2222

2323
// Configure API key authorization: api-key
2424
var apiKey = defaultClient.authentications['api-key'];
2525
apiKey.apiKey = 'YOUR API KEY';
26+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
27+
//apiKey.apiKeyPrefix = 'Token';
2628

27-
var apiInstance = new SendinBlueApi.AttributesApi();
29+
var apiInstance = new SibApiV3Sdk.AttributesApi();
2830

29-
var createAttribute = new SendinBlueApi.CreateAttribute(); // CreateAttribute | Values to create an attribute
31+
var createAttribute = new SibApiV3Sdk.CreateAttribute(); // CreateAttribute | Values to create an attribute
3032

3133
apiInstance.createAttribute(createAttribute).then(function(data) {
3234
console.log('API called successfully. Returned data: ' + data);
@@ -63,14 +65,16 @@ Deletes an attribute
6365

6466
### Example
6567
```javascript
66-
var SendinBlueApi = require('sendin_blue_api');
67-
var defaultClient = SendinBlueApi.ApiClient.instance;
68+
var SibApiV3Sdk = require('sib-api-v3-sdk');
69+
var defaultClient = SibApiV3Sdk.ApiClient.instance;
6870

6971
// Configure API key authorization: api-key
7072
var apiKey = defaultClient.authentications['api-key'];
7173
apiKey.apiKey = 'YOUR API KEY';
74+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
75+
//apiKey.apiKeyPrefix = 'Token';
7276

73-
var apiInstance = new SendinBlueApi.AttributesApi();
77+
var apiInstance = new SibApiV3Sdk.AttributesApi();
7478

7579
var attributeId = "attributeId_example"; // String | id of the attribute
7680

@@ -109,14 +113,16 @@ Lists all attributes
109113

110114
### Example
111115
```javascript
112-
var SendinBlueApi = require('sendin_blue_api');
113-
var defaultClient = SendinBlueApi.ApiClient.instance;
116+
var SibApiV3Sdk = require('sib-api-v3-sdk');
117+
var defaultClient = SibApiV3Sdk.ApiClient.instance;
114118

115119
// Configure API key authorization: api-key
116120
var apiKey = defaultClient.authentications['api-key'];
117121
apiKey.apiKey = 'YOUR API KEY';
122+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
123+
//apiKey.apiKeyPrefix = 'Token';
118124

119-
var apiInstance = new SendinBlueApi.AttributesApi();
125+
var apiInstance = new SibApiV3Sdk.AttributesApi();
120126
apiInstance.getAttributes().then(function(data) {
121127
console.log('API called successfully. Returned data: ' + data);
122128
}, function(error) {

0 commit comments

Comments
 (0)