ispapi-apiconnector
Advanced tools
Comparing version 2.6.0 to 2.7.0
{ | ||
"name": "ispapi-apiconnector", | ||
"description": "1API API Connector for node.js", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Kai Schwarz", |
@@ -13,9 +13,6 @@ # ISPAPI-APICONNECTOR | ||
```js | ||
var apiconnector = require('ispapi-connector') | ||
, api = apiconnector.Client() | ||
var apiconnector = require('ispapi-apiconnector') | ||
, api = new apiconnector.Client() | ||
, c; | ||
//optional: set client remote address including remote port, e.g.: | ||
api.setRemoteAddr("1.2.3.4:80"); | ||
/** mandantory: set your account name and password for later requests | ||
@@ -26,4 +23,6 @@ * NOTE: if not set, credentials of demo user in OT&E (Test) system will be used by default as fallback | ||
* 3rd parameter: system environment / entity. Use "1234" for OT&E (Testsystem) and "54cd" for Production System | ||
* 4th parameter: your remote address including port (optional) | ||
* 5th parameter: subuser-id (optional) | ||
*/ | ||
api.login("test.user", "test.passw0rd", "1234");//OT&E demo user | ||
api.login("test.user", "test.passw0rd", "1234", "1.2.3.4:80");//OT&E demo user | ||
@@ -33,3 +32,3 @@ /** optional: set url for api connection | ||
*/ | ||
api.connect("https://coreapi.1API.net/api/call.cgi"); | ||
api.connect("https://coreapi.1api.net/api/call.cgi"); | ||
@@ -53,3 +52,2 @@ //create connection instance to work with | ||
c.request(); | ||
``` | ||
@@ -56,0 +54,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
20177
0
56