2017 © Pedro PelĂĄez
 

library findmyiphone

Získání pozice Apple zaƙízení

image

valerian/findmyiphone

Získání pozice Apple zaƙízení

  • Monday, November 28, 2016
  • by miroslav-valerian
  • Repository
  • 2 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

FindMyIphone

Track your Apple devices. A PHP client for Apple's Find My iPhone service iCloudÂź., (*1)

Requirements

Requires PHP 5.5.0 or higher., (*2)

Installation

The best way to install valerian/findmyiphone is using Composer:, (*3)

$ composer require valerian/findmyiphone

Getting Started

Find all devices in iCloud, (*4)

$findMyIphone = new Valerian\FindMyIphome('icloud username', 'icloud password');
$devices = $findMyIphone->getDevices();
foreach ($devices as $device) {
    $location = $device->getLocation();
    if ($location) {
        $latitude = $location->getLatitude();
        $latitude = $location->getLongitude();
    }
}


Find device by name, (*5)

$findMyIphone = new Valerian\FindMyIphome('icloud username', 'icloud password');
$device = $findMyIphone->getDevice('deviceDisplayName');
$location = $device->getLocation();
if ($location) {
    $latitude = $location->getLatitude();
    $latitude = $location->getLongitude();
}

The Versions

28/11 2016

dev-master

9999999-dev

Získání pozice Apple zaƙízení

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

iphone

28/11 2016

v0.0.1

0.0.1.0

Získání pozice Apple zaƙízení

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

iphone