Coder Social home page Coder Social logo

amazon-pricing's Introduction

Amazon Web Services Pricing Ruby Gem

Gem Version Code Climate Coverage Status

About amazon-pricing

Amazon Web Services offers cloud-based on demand compute, storage and application services. Due to the number of services, and the number of pricing variables in each service, the pricing model is very complex. In addition, this pricing changes periodically. The amazon-pricing Ruby Gem is an interface library that simplifies the real-time retrieval of pricing information from Amazon.

For the most complete and up-to date README information please visit the project homepage at:

http://github.com/CloudHealth/amazon-pricing/tree/master

Installation

This gem follows the standard conventions for installation on any system with Ruby and RubyGems installed and uses Bundler for gem installation and build management.

Get an AWS account

Before you can make use of this gem you will need an Amazon Web Services account.

Install the amazon-pricing gem (Canonical Release)

This is the standard install for stable releases from RubyGems.

  • Install the gem: [sudo] gem install amazon-pricing

Install from local Git clone (for amazon-pricing developers)

To install from git for adding features or fixing bugs, you'll need to clone and build.

git clone git://github.com/CloudHealth/amazon-pricing.git
cd amazon-pricing
bundle install
rake test
rake build
rake install

Using amazon-pricing

The library exposes one main interface class AwsPricing::PriceList that allows you to retrieve pricing information from Amazon. The information is retrieved using undocumented json APIs - so has the potential to undergo change from time to time.

The following article provides a good introduction to using the gem:

http://www.hightechinthehub.com/2012/03/programmatically-retrieving-aws-pricing/

The Basics

The library exposes one main interface module

AwsPricing::PriceList

Additional Resources

Project Websites

Credits

Thanks for Amazon developers for provided JSON APIs to the pricing data (albeit undocumented).

Contact

Comments, patches, Git pull requests and bug reports are welcome. Send an email to mailto:[email protected].

Patches & Pull Requests

Please follow these steps if you want to send a patch or a GitHub pull request:

  • Fork CloudHealth/amazon-pricing
  • Create a topic branch: git checkout -b my_fix
  • Make sure you add tests for your changes and that they all pass with 'rake test'
  • Don't change files that you don't own like the gemspec or version.rb
  • Commit your changes, one change/fix per commit
  • Push your fixes branch: git push origin my_fix
  • Open an Issue on GitHub referencing your branch and send a pull request.
  • Please do not push to master on your fork. Using a feature/bugfix branch will make everyone’s life easier.

Enjoy!

CloudHealth

amazon-pricing's People

Contributors

brindlefly avatar lardcanoe avatar jeffzhou791 avatar deepak3636 avatar dividedmind avatar eyardimci avatar aabes avatar davidcain avatar aschepis avatar alex-slynko avatar astorije avatar gruzzlymug avatar sjstack avatar

Watchers

haoyang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.