odannyc / iphone-locator
该软件包最新版本(v1.0)没有提供许可信息。
一个简单的工具,使用逆向工程后的iCloud API来检索iPhone的位置。
v1.0
2016-09-24 00:13 UTC
Requires
- phpunit/phpunit: ^5.5
This package is auto-updated.
Last update: 2024-09-07 05:24:34 UTC
README
一个简单的工具,使用逆向工程后的iCloud API来检索iPhone的位置。
安装
要安装此简单的PHP客户端,您只需使用composer
composer install odannyc/iphone-locator
如果您没有composer,请下载并了解它。
用法
要使用它,您只需调用1个简单的方法
$username = 'test'; // This is the username associated with the iCloud account. $password = 'password'; // This is the password associated with the iCloud account. $locator = new iPhoneLocator($username, $password); $locator->devices(); // Gets you all devices associated to the account with all their info.
它仍在当前开发中,但$locator->devices()方法将为您提供所需的所有信息,甚至更多;)
贡献
如果您想做出贡献,请先打开一个issue,解释您将要实现的功能或要修复的bug。然后,完成工作并在master上打开一个pull request。
感谢
感谢所有目前在GitHub上为PHP提供的iPhone定位客户端;我从他们那里得到了一些灵感。但这个更现代化,您可以用Composer安装它,而其他的一些则缺少这一功能。