Hi,
Just trying to run this to confirm I can sign in:
from sharkiqpy import get_ayla_api, OperatingModes, Properties, PowerModes
USERNAME = 'my_username'
PASSWORD = 'my_password'
ayla_api = get_ayla_api(USERNAME, PASSWORD)
ayla_api.sign_in()
and I am receiving this error:
Traceback (most recent call last):
File "/Users/cartnj/Desktop/usefulprojects/vacuum.py", line 7, in <module>
ayla_api.sign_in()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/sharkiqpy/ayla_api.py", line 84, in sign_in
self._set_credentials(resp.status_code, resp.json())
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/sharkiqpy/ayla_api.py", line 73, in _set_credentials
raise SharkIqAuthError(login_result["error"]["message"])
TypeError: string indices must be integers
Any ideas? I just started playing with this API so I apologize if I am missing something. Thanks in advance!
Hi,
Just trying to run this to confirm I can sign in:
and I am receiving this error:
Any ideas? I just started playing with this API so I apologize if I am missing something. Thanks in advance!