erans / ec2instancespricing

Quick and dirty Python API and CLI to get EC2 instance pricing for On-Demand and Reserved Instances
Other
175 stars 89 forks source link

Adapted to Amazon's move from JSON files from to some javascript stuff. #20

Closed pdufault closed 9 years ago

pdufault commented 9 years ago

Thanks for publishing the script! This is very handy for billing projects.

I've updated the URLs to the new lazy-json locations in the python version and removes an unneeded header and footer from the 'lazy-JSON' content. Am feeding the results into demjson, as it was more tolerant in parsing of the lazy-json content.

Seems to work for all os types, ondemand and reserved instances.

Cheers

erans commented 9 years ago

Thanks. That looks great. I was AFK for a while and didn't have much time to handle it.