An iCloud session management API.
An iCloud session management API.
yarn add icloud-session
prop | type | required | description |
---|---|---|---|
credentials |
object |
true | An object with an ‘apple_id’ and a ‘password’ keys (an email and a password) |
callback |
func |
false |
prop | type | required | description |
---|---|---|---|
session |
object |
true | An object received from this library |
callback |
func |
false |
prop | type | required | description |
---|---|---|---|
session |
object |
true | An object received from a icloud-session library |
url |
string |
true | |
data |
string |
false | Request body. (Use JSON.stringify for json objects) |
callback |
func |
false |
MIT