zembrowski / itraq-php
This package is abandoned and no longer maintained.
No replacement package was suggested.
PHP wrapper for the iTraq API
0.0.1
2016-08-14 21:52 UTC
Requires
- php: >=5.3
- guzzlehttp/guzzle: ~6.2
Requires (Dev)
- phpunit/phpunit: ~5.2
This package is not auto-updated.
Last update: 2020-11-24 05:31:15 UTC
README
PHP wrapper for the iTraq API.
iTraq is a celluar GPS tracking device which can be purchased at itraq.com
Install
Via Composer
$ composer require zembrowski/itraq-php
Usage
With Composer
require_once 'vendor/autoload.php'; $email = 'name@domain.com'; $password = 'pa$$word'; $apiKey = '{apiKey given by iTraq}'; try { $itraq = new iTraq\User($apiKey); $token = $itraq->login($email, $password); $itraq = new iTraq\Devices($token); $devices = $itraq->devices(); echo $devices; } catch (Exception $e) { echo '[ERROR] ' . $e->getMessage(); }
See examples.php for an advanced example.
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
Licenses
The MIT License and DBAD Public License apply. Please see LICENSE for more information.