@@ -53,26 +53,13 @@ command above from.
53
53
#### git
54
54
#
55
55
If the library is hosted at a git repository, e.g.
56
- https://github.com/GIT_USER_ID/GIT_REPO_ID
56
+ https://github.com/sendinblue/APIv3-nodejs-library
57
57
then install it via:
58
58
59
59
``` shell
60
- npm install GIT_USER_ID/GIT_REPO_ID --save
60
+ npm install sendinblue/APIv3-nodejs-library --save
61
61
```
62
62
63
- ### For browser
64
-
65
- The library also works in the browser environment via npm and [ browserify] ( http://browserify.org/ ) . After following
66
- the above steps with Node.js and installing browserify with ` npm install -g browserify ` ,
67
- perform the following (assuming * main.js* is your entry file, that's to say your javascript file where you actually
68
- use this library):
69
-
70
- ``` shell
71
- browserify main.js > bundle.js
72
- ```
73
-
74
- Then include * bundle.js* in the HTML pages.
75
-
76
63
### Webpack Configuration
77
64
78
65
Using Webpack you may encounter the following error: "Module not found: Error:
@@ -104,7 +91,7 @@ var defaultClient = SibApiV3Sdk.ApiClient.instance;
104
91
var apiKey = defaultClient .authentications [' api-key' ];
105
92
apiKey .apiKey = " YOUR API KEY"
106
93
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
107
- // apikey .apiKeyPrefix['api-key'] = "Token"
94
+ // apiKey .apiKeyPrefix['api-key'] = "Token"
108
95
109
96
// Configure API key authorization: partner-key
110
97
var partnerKey = defaultClient .authentications [' partner-key' ];
0 commit comments