node-icloud

1.0.0 • Public • Published

node-icloud

A node iCloud module.

API

playSound()

Play sound on iPhone.

showDevices(callback)

Show all devices associated with the current iCloud account.

Usage

 
var iCloud = require('node-cloud');
var device = new iCloud('foobar@icloud.com', 'password');
 
device.playSound();
 
device.showDevices(function(devices) {
  console.log(devices);  // => [{ name: 'Brian’s MacBook Pro', deviceId: foobar123xyz' }]
});
 
 

Readme

Keywords

none

Package Sidebar

Install

npm i node-icloud

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bmac0007