glanser / host-tracker-api
Host-Tracker.com REST API
0.0.4
2019-01-17 15:21 UTC
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2024-09-18 04:30:20 UTC
README
Host-Tracker.com API 的简单面向对象包装,使用 PHP 编写。
功能
- ОК - 用户操作
- ОК - 代理操作
- NОК - 任务操作
(没有 POST /api/web/v1/tasks/$batch,官方文档中没有信息) - NOK - 联系操作
(没有 POST /api/web/v1/contacts/$batch,官方文档中没有信息) - OK - 订阅操作
- ОК - 统计操作
- ОК - 停电操作
- NO - AdWords 营销活动操作
要求
- PHP >= 5.4
- guzzlehttp/guzzle: ^6.3
- PHP cURL 扩展
- PHP JSON 扩展
安装
Composer
Composer 用户可以直接运行
$ composer require glanser/host-tracker-api
在项目根目录下。为了使用库,请在将使用 HostTracker
类的脚本中包含 Composer 的 vendor/autoload.php
。
例如,
<?php // This file is generated by Composer require_once 'vendor/autoload.php'; $client = new HostTracker\Client('login', 'password');