0.3.1 • Published 10 years ago

amazon-associate v0.3.1

Weekly downloads
16
License
-
Repository
github
Last release
10 years ago

amazon-associate

simple interface to amazon associate reports

this is very much work in progress

Install

npm install amazon-associate

Use

Amazon = require 'amazon-associate'

amazon = new Amazon
    associateId: 'your amazon associate id'
    password: 'your password'
    # debug: true

amazon.getReports (err, reports) ->
    throw err if err?
    console.log reports

    amazon.getEarnings (new Date 2012, 5, 22), (err, earnings) ->
        throw err if err?
        console.log earnings

        amazon.getOrders (new Date 2012, 5, 22), (err, orders) ->
            throw err if err?
            console.log orders

License: MIT

0.3.1

10 years ago

0.3.0

11 years ago

0.2.0

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago