Socket
Book a DemoInstallSign in
Socket

life360-node-api

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

life360-node-api

An unofficial hook into Life360.com's API.

Source
npmnpm
Version
0.0.5
Version published
Weekly downloads
1
-92.86%
Maintainers
1
Weekly downloads
 
Created
Source

life360-node-api

An unofficial implementation of Life360's API in Node.js.

I dissected the HTTP api behind Life360.com. This library allows you to login, see information about your family and circles, and locate your family members.

Install

$ npm install life360-node-api

Usage

const life360 = require('life360-node-api')

Every function that talks to Life360.com will be asynchronous.

Login with your username and password.

await life360.login('myusername', 'mySecurePassword123')

Get a list of your circles and log the names of each of them

let circles = await life360.circles()

for (var circle of circles) {
  console.log(circle.name)
}

Get a list of your circle's members

let myCircle = circles[0]
let members = await myCircle.members()

for (var member of members) {
  console.log(`${member.firstName} ${member.lastName}`)
}

Keywords

life360

FAQs

Package last updated on 19 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts