iCloud Universal Tools

Usage

Usage: icloud.py <options>

Options:
  -u, --username <username>    Your iCloud username or email address
  -p, --password <password>    Your iCloud password (default: use PyiCloud
                               keyring or prompt for password)
  --china-account              Specify the "HOME_ENDPOINT" and
                               "SETUP_ENDPOINT" for the "China Mainland
                               Accounts".
  -d, --directory <directory>  Local directory that should be used for
                               download
  --recent INTEGER RANGE       Number of recent photos to download (default:
                               download all photos)  [x>=0]
  --auto-delete                Scans the "Recently Deleted" folder and deletes
                               any files found in there. (If you restore the
                               photo in iCloud, it will be downloaded again.)
  --modify-olds                Modify the "Created Time" of the old files that
                               already been in the folder.
  --version                    Show the version and exit.
  -h, --help                   Show this message and exit.

Photos Download

icloud -d /external/SADAM/icloud/photos/ --recent 500
icloud -u <username> -p <password> -d /external/SADAM/icloud/photos/ --recent 500

Driver (Files)

Reminds

Contact

Location

api.iphone.location()
{
  'isOld': True,
  'isInaccurate': False,
  'positionType': 'Wifi',
  'secureLocation': None,
  'secureLocationTs': 0,
  'altitude': 0.0,
  'latitude': 43.894873066105184,//纬度
  'longitude': 87.58595865485619,
  //经度
  'horizontalAccuracy': 65.0,
  //水平精度
  'verticalAccuracy': 0.0,
  //垂直精度
  'timeStamp': 1670048465162,
  //时间戳
  'floorLevel': 0,
  'locationType': '',
  'locationFinished': True,
  'locationMode': None
}

links

  1. PyiCloud PyPI Home Page
  2. PyiCloud GitHub Home Page