1.5.1-patch1 • Published 2 months ago

icloudjs v1.5.1-patch1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

iCloud.js

iCloud.js is an independent project, and is not affiliated, endorsed, recommended by or otherwise affiliated with Apple Inc.

iCloud.js is a library for interacting with Apple's iCloud services for Node.js.

Thanks

This library would not be possible without the help of:

Usage

Check the examples, or read the API reference

Basic example

// for TypeScript, use:
import iCloud from "icloudjs";
// for JavaScript, use:
const { default: iCloud } = require('icloudjs');


const icloud = new iCloud({
    username: "johnny.appleseed@icloud.com",
    password: "hunter2",
    saveCredentials: true,
    trustDevice: true,
    authMethod: "srp"
})
await icloud.authenticate()
console.log(icloud.status)
if (icloud.status === "MfaRequested") {
    await icloud.provideMfaCode("123456")
}
await icloud.awaitReady;
console.log("Hello, " + icloud.accountInfo.dsInfo.fullName)
return icloud
1.5.1-patch1

2 months ago

1.5.1

2 months ago

1.5.0

7 months ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0-patch1

1 year ago

1.0.0

1 year ago