JavaScript Wrapper for Life360
I made this when I was experimenting with mobile apps where I would inspect the traffic from random mobile apps and checkout their APIs. By this point my friends and I have been using Life360 for a long while and I thought it would be neat to make a wrapper for this. I found some interesting stuff in there like the app used an initial token with this value
Y2F0aGFwYWNyQVBoZUtVc3RlOGV2ZXZldnVjSGFmZVRydVl1ZnJhYzpkOEM5ZVlVdkE2dUZ1YnJ1SmVnZXRyZVZ1dFJlQ1JVWQ==Which I thought was odd. Because this token was sent with the initial authentication request. Turns out that's exactly the case. I googled this string and found a bunch of threads on home assistant and other various homelab focused forums discussing the authentication. Turns out people have mapped out this API long before I did and they were using it for stuff like home assistant as a presence sensor
I havent checked my repo in a while. Its prolly outdated or something. I should add daily testing to my GitHub CI
Send me a message! Don't worry it's free!