Skip to content

Commit 4ae619d

Browse files
authored
Merge pull request #8 from sendinblue/feature_wrapper_update
typescript wrapper update to 1.1.0
2 parents cc6d980 + f0173af commit 4ae619d

File tree

8 files changed

+2450
-821
lines changed

8 files changed

+2450
-821
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ apiKey.apiKey = "YOUR API KEY"
6868
var partnerKey = apiInstance.authentications['partnerKey'];
6969
partnerKey.apiKey = "YOUR API KEY"
7070

71-
var opts = {
71+
var opts = {
7272
'limit': 10, // Number | Number of documents per page
7373
'offset': 0 // Number | Index of the first document of the page
7474
};
7575

7676
apiInstance.getLists(opts).then(function(data) {
7777
console.log('API called successfully. Returned data: ' + data);
78-
api.getAttributes().then(function(data) {
78+
apiInstance.getAttributes().then(function(data) {
7979
console.log('API called successfully. Returned data: ' + data);
8080
}, function(error) {
8181
console.error(error);
@@ -90,4 +90,3 @@ apiInstance.getLists(opts).then(function(data) {
9090

9191

9292
For more examples, refer the https://github.com/sendinblue/APIv3-nodejs-library#documentation-for-api-endpoints
93-

0 commit comments

Comments
 (0)