A simple Object Oriented wrapper for Host-Tracker.com API, written with PHP.
Uses Host-Tracker.com API.
- ОК - user operations
- ОК - agent operations
- NОК - task operations
(without POST /api/web/v1/tasks/$batch, no information in official documentation) - NOK - contact operations
(without POST /api/web/v1/contacts/$batch, no information in official documentation) - OK - subscription operations
- ОК - stats operations
- ОК - outages operations
- NO - AdWords campaign operations
- PHP >= 5.4
- guzzlehttp/guzzle: ^6.3
- The PHP cURL extension
- The PHP JSON extension
Composer users can simply run:
$ composer require glanser/host-tracker-api
at the root of their projects. To utilize the library, include
Composer's vendor/autoload.php
in the scripts that will use the
HostTracker
classes.
For example,
<?php
// This file is generated by Composer
require_once 'vendor/autoload.php';
$client = new HostTracker\Client('login', 'password');