Skip to content

Instantly share code, notes, and snippets.

View KentaroAOKI's full-sized avatar

kekekekenta KentaroAOKI

View GitHub Profile
@KentaroAOKI
KentaroAOKI / aws_usage.py
Created September 7, 2011 09:02 — forked from noneal/aws_usage.py
A script to query the AWS usage reports programmatically.
#!/usr/bin/env python
"""
A script to query the Amazon Web Services usage reports programmatically.
Ideally this wouldn't exist, and Amazon would provide an API we can use
instead, but hey - that's life.
Basically takes your AWS account username and password, logs into the
website as you, and grabs the data out. Always gets the 'All Usage Types'