/pyamex

Python library for accessing American Express account data

Primary LanguagePythonMIT LicenseMIT

pyamex : American Express account data from Python

Ported from the the ruby version by timrogers, and improvements by DanToml:

Requires Python 3.4 and above.

Installation

You can install using pip:

pip install pyamex

or manually:

python setup.py install

Usage

from pyamex import AmexClient
client = AmexClient(username='bill', password='gates', locale='en_GB')

accounts = client.accounts()

# Print all account balances
for account in accounts:
    print(account.card_product, account.total_balance)

Examples

See below.

TODO

  • Code cleanup
  • Examples