channeladvisor2
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "channeladvisor2", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "API wrapper for ChannelAdvisor's SOAP service", | ||
@@ -11,3 +11,4 @@ "main": "index.js", | ||
"scripts": { | ||
"prepublish": "grunt build" | ||
"prepublish": "grunt build", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
@@ -14,0 +15,0 @@ "devDependencies": { |
channeladvisor2 | ||
=== | ||
[ivan's](https://github.com/seapunk) fork and complete rewrite of the [node-channeladvisor](https://github.com/wankdanker/node-channeladvisor) library | ||
[ivan's](https://github.com/seapunk) complete rewrite of the [node-channeladvisor](https://github.com/wankdanker/node-channeladvisor) library | ||
@@ -14,14 +14,16 @@ --- | ||
```javascript | ||
```coffeescript | ||
var channeladvisor = require('channeladvisor2') | ||
channeladvisor = require('channeladvisor2') | ||
opts = | ||
developerKey: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
var opts = { | ||
developerKey: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
password: "Password!123" | ||
} | ||
channeladvisor.create opts, (err, ca) -> | ||
ca.AdminService.GetAuthorizationList (err, result) -> | ||
console.log result | ||
channeladvisor.create(opts, function(err, ca){ | ||
ca.AdminService.GetAuthorizationList(function(err, result){ | ||
console.log(result) | ||
}) | ||
}) | ||
@@ -37,2 +39,9 @@ ``` | ||
build | ||
--- | ||
```bash | ||
grunt build | ||
``` | ||
api | ||
@@ -71,8 +80,8 @@ --- | ||
```coffeescript | ||
opts = | ||
localID: 9999999 | ||
```javascript | ||
var opts = {localID: 9999999} | ||
ca.AdminService.RequestAccess opts, (err, result) -> | ||
console.log result | ||
ca.AdminService.RequestAccess(opts, function(err, result){ | ||
console.log(result) | ||
}) | ||
``` | ||
@@ -85,18 +94,6 @@ | ||
```coffeescript | ||
ca.InventoryService.Ping (err, result) -> | ||
console.log result | ||
``` | ||
note | ||
--- | ||
I am not affiliated in any way with ChannelAdvisor. | ||
This library is named "channeladvisor2" to specify that this is a derivative of | ||
the "channeladvisor" library, and so people can find this library easier. | ||
license | ||
--- | ||
MIT | ||
```javascript | ||
ca.InventoryService.Ping(function(err, result){ | ||
console.log(result) | ||
}) | ||
``` |
Sorry, the diff of this file is not supported yet
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
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
7071
0
2
95
1