glanser/host-tracker-api

Host-Tracker.com REST API

0.0.4 2019-01-17 15:21 UTC

This package is auto-updated.

Last update: 2024-05-18 03:40:18 UTC


README

A simple Object Oriented wrapper for Host-Tracker.com API, written with PHP.

Uses Host-Tracker.com API.

Features

  • ОК - 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

Requirements

Install

Composer

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');