shauntarves/wyze-sdk

api_test API endpoint removed?

Opened this issue · 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?

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 any updates here?