getyouridx / pychargify

Python Library for Chargify.com
http://support.chargify.com/faqs/api
GNU General Public License v2.0
23 stars 18 forks source link

Hi Paul #3

Closed StefanKjartansson closed 13 years ago

StefanKjartansson commented 13 years ago

We just started using Chargify and I needed to add a few things to your client that you might want to upstream.

  1. XML Decoding: We're based in Iceland so I had to fix the xml decoding a bit so that our weird characters could be parsed. Should work for any language which uses an extended latin alphabet. Chargify is using CP1252 and probably don't think too much about non-ascii.
  2. Added getAll for subscriptions. Needed this for some internal stuff.
  3. Added createUsage for subscriptions. Need this to create metered usage for a component.
  4. PEP8 Did a PEP8 clean up because I'm using vim (80 chars etc).

Have a nice day, Stefan.

p.s. I'll be adding quantity allocations for subscriptions tomorrow.

ghost commented 13 years ago

Awesome thanks Stefan.