library · inferred from evidence
recurly-client-python
A Python client library for interacting with the Recurly API.
- TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' when Recurly...
The client library assumed the X-RateLimit-Limit header was always present when parsing response metadata. A Recurly contributor reproduced the crash in the test suite, made the header parsing defensive on master, and cut a new release the
- recurly python: account.billing_info raises AttributeError on new accounts
Don't read billing_info off a new account — create one and attach it. The verified pattern: `account = Account.get('1')`, then `billing_info = BillingInfo()`, `billing_info.token_id = 'TOKEN_ID'`, `account.update_billing_info(billing_info)`