wyze-sdk icon indicating copy to clipboard operation
wyze-sdk copied to clipboard

api_test API endpoint removed?

Open robot1125 opened this issue 2 years ago • 2 comments

Hi Shaun,

I tried this at the top of my app to capture when I need to refresh my access token:

try:
    client = Client(token=ACCESS_TOKEN)
    api_response = client.api_test()
except WyzeApiError as err:
    print(f'Connect Error: {err}')

However, when I run that I get a 404! is it possible Wyze remove the api test endpoint?

robot1125 avatar Jan 04 '23 18:01 robot1125

Eke, probably. I will take a look at that. It was really just a random endpoint that returned minimal data quickly, so I can find something else to use.

shauntarves avatar Jan 04 '23 21:01 shauntarves

@shauntarves any updates here?

jwheeler31 avatar Mar 20 '23 07:03 jwheeler31