Skip to content

Commit fe7569f

Browse files
committed
Update Readme.md
1 parent 075648b commit fe7569f

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

Readme.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,26 @@ Installation
1111
See /examples for usage
1212
------------
1313

14-
Thanks to [zanox](https://npmjs.org/package/zanox)
14+
This example gives you the sales as of 2013-05-20
15+
16+
```
17+
var zanox_req, params, zanox;
18+
19+
zanox_req = require('zanox_js');
20+
21+
zanox = zanox_req("52D8E7B48B9A34ED7941", "c0923f577D074C+fa0caa6e2890944/B355aFc45");
22+
23+
params = {
24+
datetype: 'modifiedDate',
25+
state: 'approved'
26+
};
27+
28+
zanox.getAllSalesOfDate('2013-05-20', params, function(err, data) {
29+
if (err != null) {
30+
return console.log('error', err);
31+
}
32+
return console.log('%j', data);
33+
});
34+
```
35+
36+
Thanks to [zanox](https://npmjs.org/package/zanox)

0 commit comments

Comments
 (0)