Small module which uses nodes http module to retrieve AWS pricing and parses it.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.jshintrc
.npmignore
Gruntfile.js
LICENSE-MIT
README.md
package.json

README.md

aws-pricing

Small module which uses nodes http module to retrieve AWS pricing and parse it. data is downloaded from the AWS Pricing Site.

Usage

Get a list the on demand instance pricing.

var aws_pricing = require('aws-pricing')

awspricing.requestOnDemandPricing(function (err, data) {
   if (err){
    // badness
   }

    // mess with data
})

Available methods are:

  • requestOnDemandPricing
  • requestDataTransferPricing
  • requestElasticIpsPricing
  • requestElasticLoadBalancerPricing

All accept the standard callback(err, data) with data containing the JSON returned by the service parsed into an object.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2013 Mark Wolfe Licensed under the MIT license.