Open collelog opened 3 days ago
Hi @collelog , thx so much for your work !
Will update code accordly in a while.
I think we're likely missing other zones TBH ... but we can patch them as they come in :)
@collelog, please test linked PR and report back
Thank you for fixing the PG. The test results for the fixed PG were fine.
python3 library_test.py -c us -e test@test -p test
OTP Code: 0 Cannot authenticate with test@test credentials
python3 library_test.py -c jp -e test@test -p test
OTP Code: 0 Cannot authenticate with test@test credentials
python3 library_test.py -c us -e test@test -p test
OTP Code: 0 Cannot authenticate with test@test credentials
python3 library_test.py -c uk -e test@test -p test
OTP Code: 0 Cannot authenticate with test@test credentials
python3 library_test.py -c au -e test@test -p test
OTP Code: 0 Cannot authenticate with test@test credentials
python3 library_test.py -c br -e test@test -p test
OTP Code: 0 Cannot authenticate with test@test credentials
python3 library_test.py -c jp -e xxx@xxx.co.jp -p xxx
OTP Code: NNNNNN Logged-in. -------------------- Login data: {....} -------------------- -------------------- Devices: {....} --------------------
For Amazon-JP, the request parameter “openid.asset_handle=amzn_dp_project_dee_ios” needs to be replaced with “openid.asset_handle=jpflex”.
1. Execution result before program modification
> python3 library_test.py -c jp -e test@test -p test OTP Code: 0
> cat example.log
2. Tentative modifications to the program
> diff /root/mypy/lib/python3.11/site-packages/aioamazondevices/api.py /root/mypy/lib/python3.11/site- packages/aioamazondevices/api.py.org
3. Execution result after program modification
> python3 library_test.py -c jp -e test@test -p test OTP Code: 0
> cat example.log
4. Test results by authorized account
> python3 library_test.py -c jp -e xxx@xxx.co.jp -p xxxxxxxxxx OTP Code: xxxxxx