Skip to content

Commit f4d15ac

Browse files
committed
Use npm instead of kiwi for installation.
1 parent ecdabd3 commit f4d15ac

File tree

4 files changed

+25
-18
lines changed

4 files changed

+25
-18
lines changed

README

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
apac (Amazon Product Advertising Client) will allow you to access the Amazon Product Advertising API. Learn more about the API at https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html.
22

33

4-
Install using kiwi:
4+
Install using npm:
55

6-
kiwi install apac
6+
npm install apac@latest
7+
8+
If you try to install without "@latest", it will try to install the most recent stable
9+
version, but there is no stable version yet. So for now you must specify latest.
710

811

912
Here's a quick example:
1013

1114
var sys = require('sys'),
12-
kiwi = require('kiwi'),
13-
OperationHelper = kiwi.require('apac').OperationHelper;
15+
OperationHelper = require('apac').OperationHelper;
1416

1517
var opHelper = new OperationHelper({
1618
awsId: '[YOUR AWS ID HERE]',

examples/example-item-search.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
var sys = require('sys'),
2-
kiwi = require('kiwi'),
3-
OperationHelper = kiwi.require('apac').OperationHelper;
2+
OperationHelper = require('apac').OperationHelper;
43

54
var opHelper = new OperationHelper({
65
awsId: '[YOUR AWS ID HERE]',

package.json

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
1-
{
2-
'name': 'apac',
3-
'description': 'Amazon Product Advertising Client for Node',
4-
'version': '0.0.1',
5-
'keywords': ['amazon', 'api', 'product', 'advertising', 'node'],
6-
'directories': {'lib': './lib'},
7-
'engines': {'node': '>= 0.1.97'}
1+
{ "name" : "apac"
2+
, "description" : "Amazon Product Advertising API Client for Node"
3+
, "version" : "0.0.1"
4+
, "author" : "Dustin McQuay <dmcquay@gmail.com>"
5+
, "repository" :
6+
{ "type" : "git"
7+
, "url" : "git://github.com/dmcquay/node-apac.git"
8+
}
9+
, "bugs" : { "web" : "http://github.com/dmcquay/node-apac/issues" }
10+
, "os" : [ "linux", "darwin", "freebsd" ]
11+
, "directories" : { "lib" : "./lib/" }
12+
, "main" : "./lib/apac"
13+
, "engines" : { "node" : ">=0.1.97" }
14+
, "licenses" :
15+
[ { "type" : "MIT"
16+
, "url" : "http://github.com/dmcquay/node-apac/raw/master/LICENSE"
17+
}
18+
]
819
}

seed.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)