Download AWS usage reports, in XML, CSV or parsed CSV. Based on the Python gist A script to query the Amazon Web Services (S3/EC2/etc) usage reports programmatically..
require 'aws_usage'
# Yield rows from report
aws_usage = AwsUsage.new('[email protected]', 'mypassword')