Skip to content

Commit

Permalink
Use npm instead of kiwi for installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcquay committed Jul 1, 2010
1 parent ecdabd3 commit f4d15ac
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 18 deletions.
10 changes: 6 additions & 4 deletions README
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
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.


Install using kiwi:
Install using npm:

kiwi install apac
npm install apac@latest

If you try to install without "@latest", it will try to install the most recent stable
version, but there is no stable version yet. So for now you must specify latest.


Here's a quick example:

var sys = require('sys'),
kiwi = require('kiwi'),
OperationHelper = kiwi.require('apac').OperationHelper;
OperationHelper = require('apac').OperationHelper;

var opHelper = new OperationHelper({
awsId: '[YOUR AWS ID HERE]',
Expand Down
3 changes: 1 addition & 2 deletions examples/example-item-search.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var sys = require('sys'),
kiwi = require('kiwi'),
OperationHelper = kiwi.require('apac').OperationHelper;
OperationHelper = require('apac').OperationHelper;

var opHelper = new OperationHelper({
awsId: '[YOUR AWS ID HERE]',
Expand Down
25 changes: 18 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
{
'name': 'apac',
'description': 'Amazon Product Advertising Client for Node',
'version': '0.0.1',
'keywords': ['amazon', 'api', 'product', 'advertising', 'node'],
'directories': {'lib': './lib'},
'engines': {'node': '>= 0.1.97'}
{ "name" : "apac"
, "description" : "Amazon Product Advertising API Client for Node"
, "version" : "0.0.1"
, "author" : "Dustin McQuay <dmcquay@gmail.com>"
, "repository" :
{ "type" : "git"
, "url" : "git://github.com/dmcquay/node-apac.git"
}
, "bugs" : { "web" : "http://github.com/dmcquay/node-apac/issues" }
, "os" : [ "linux", "darwin", "freebsd" ]
, "directories" : { "lib" : "./lib/" }
, "main" : "./lib/apac"
, "engines" : { "node" : ">=0.1.97" }
, "licenses" :
[ { "type" : "MIT"
, "url" : "http://github.com/dmcquay/node-apac/raw/master/LICENSE"
}
]
}
5 changes: 0 additions & 5 deletions seed.yml

This file was deleted.

0 comments on commit f4d15ac

Please sign in to comment.