node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

icloud

icloud

Access the iCloud API

usage

var icloud = require('icloud');
 
var instance = icloud();
instance.login("username", "password", function(err) {
    if (err) return console.log('login failed');
    instance.contacts(function(err, results) {
        if (err) return console.log('failed to fetch contacts');
        console.log(results.contacts);
    });
});

services

Contacts is the only service implemented so far. Pull-requests welcome.

credits

The implementation is heavily inspired by pycloud