项目作者: weisjohn

项目描述 :
Access the iCloud API
高级语言: JavaScript
项目地址: git://github.com/weisjohn/icloud.git
创建时间: 2014-10-06T17:35:58Z
项目社区:https://github.com/weisjohn/icloud

开源协议:MIT License

下载


icloud

Access the iCloud API

usage

  1. var icloud = require('icloud');
  2. var instance = icloud();
  3. instance.login("username", "password", function(err) {
  4. if (err) return console.log('login failed');
  5. instance.contacts(function(err, results) {
  6. if (err) return console.log('failed to fetch contacts');
  7. console.log(results.contacts);
  8. });
  9. });

services

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

credits

The implementation is heavily inspired by pycloud