bdraco / yalexs

Python API for Yale Access (formerly August) Smart Lock and Doorbell
MIT License
38 stars 18 forks source link

Asking for api key #150

Open re-vitalize opened 1 month ago

re-vitalize commented 1 month ago

My code is failing because its asking for an api key. The app can see all my houses and locks. Would love to learn :

  1. why does it need an api key
  2. how do I get an api key

The output I'm getting is

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api-production.august.com:443
DEBUG:urllib3.connectionpool:https://api-production.august.com:443 "GET /users/me HTTP/11" 403 None
DEBUG:root:Token validation response status code: 403
DEBUG:root:Token validation response content: b'{"code":"Forbidden","message":"API key is not valid"}'
ERROR:root:Access token is invalid. Re-authentication required.
Error 9: Access token invalid, re-authentication required
re-vitalize commented 1 month ago

I wrote master lock to see about getting a token but they said no dice for anyone with less than 1k locks 😳

Is there a way to get an API token to run this automation with only 14 locks?