Skip to content

Instantly share code, notes, and snippets.

View hinnerk's full-sized avatar

Hinnerk Haardt hinnerk

View GitHub Profile
@hinnerk
hinnerk / aws_usage.py
Created February 9, 2011 11:08 — forked from rcoup/aws_usage.py
Fork of AWS usage report download script.
#!/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'