life360-python
life360-python copied to clipboard
A simple python life360 client
``` File "life360.py", line 41, in authenticate r = self.make_request(url=url, params=params, method='POST', authheader="Basic " + self.authorization_token) File "life360.py", line 29, in make_request return r.json() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/models.py", line 975, in json...
I'm using the hard coded token and it's worked for a few years. Now it's failing. Any idea?
Can you add some error handling so the following 502 and 504 Bad Gateway errors are trapped when the Life360 API has issues? ``` File "life360.py", line 37, in authenticate...