You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just curious if its me doing something wrong, an actual bug in the code, or if the Amex API is no longer available. I try to run your example file and get:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-13-4465971edafd> in <module>
----> 1 client.accounts()
/opt/conda/envs/Python3.6/lib/python3.6/site-packages/pyamex/client.py in accounts(self)
75 accounts = [
76 self.create_account(account)
---> 77 for account in xml_tree.find('CardAccounts')
78 ]
79
/opt/conda/envs/Python3.6/lib/python3.6/site-packages/pyamex/client.py in <listcomp>(.0)
75 accounts = [
76 self.create_account(account)
---> 77 for account in xml_tree.find('CardAccounts')
78 ]
79
/opt/conda/envs/Python3.6/lib/python3.6/site-packages/pyamex/client.py in create_account(self, account_tree)
99 account_data['client'] = self
100
--> 101 for param in account_tree.find('CardData'):
102 name = param.attrib['name']
103 account_data[name] = param.text
TypeError: 'NoneType' object is not iterable
I dug through the code found the urls you had in the comments and tried them in Chrome and they appear dead. Is it still working for you?
The text was updated successfully, but these errors were encountered:
Just curious if its me doing something wrong, an actual bug in the code, or if the Amex API is no longer available. I try to run your example file and get:
I dug through the code found the urls you had in the comments and tried them in Chrome and they appear dead. Is it still working for you?
The text was updated successfully, but these errors were encountered: