aws-pricing

Small module which uses nodes http module to retrieve AWS pricing and parse it.

aws-pricing

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

Get a list the on demand instance pricing.

var aws_pricing = require('aws-pricing')
 
awspricing.requestOnDemandPricing(function (errdata) {
   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.

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.

(Nothing yet)

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