Socket
Socket
Sign inDemoInstall

ispapi-apiconnector

Package Overview
Dependencies
0
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.6.0 to 2.7.0

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc