diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-02-04 15:42:09 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-02-04 15:42:09 +0200 |
commit | 1144dc5939c994388acaa5522f1e8ba2ce82477e (patch) | |
tree | 31f82806384a2d5acdd16bf6b45fc97bf6bee1c7 | |
parent | 55d83d7ba29e735211dd3ab8f3fff67ec4fe42f6 (diff) | |
parent | 68d471d690a4d83e7a30507ec205afebffc0572b (diff) | |
download | gsxlib-1144dc5939c994388acaa5522f1e8ba2ce82477e.tar.gz gsxlib-1144dc5939c994388acaa5522f1e8ba2ce82477e.tar.bz2 gsxlib-1144dc5939c994388acaa5522f1e8ba2ce82477e.zip |
Merge pull request #56 from eriktobben/master
Update README.md
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -86,6 +86,18 @@ ensures the certificate is sent with each request and you only have to define th A: First, install [simpletest][3], then: $ GSX_DEBUG=1 GSX_TECHID=123456 GSX_SN=12345678 GSX_SHIPTO=123456 GSX_USER=me@example.com GSX_KEYPASS='MySuperSecretKey' GSX_SOLDTO=123456 GSX_CERT=/path/to/my/cert.chain.pem php runtests.php + + +### Q: How can I get Find My iPhone status? + +A: Use the following code: + + $warrantylookup = $gsx->warrantyStatus($serialnumber); + if (strpos($warrantylookup->activationLockStatus,'Find My iPhone is active') !== false) { + $fmid = 1; + } else { + $fmid = 0; + } License |