bschleyer/reseller-services-phpclient
Composer 安装命令:
composer require bschleyer/reseller-services-phpclient
包简介
A full-featured implementation of the ResellerServices API
README 文档
README
This PHP 7.2+ library allows you to communicate with the Reseller-Services API.
You can find the full API documentation here!
Getting Started
Recommended installation is using Composer!
In the root of your project execute the following:
$ composer require bschleyer/reseller-services-phpclient
Or add this to your composer.json file:
{
"require": {
"bschleyer/reseller-services-phpclient": "^1.0"
}
}
Then perform the installation:
$ composer install --no-dev
Examples
Creating the ResellerServices main object:
<?php // Require the autoloader require_once 'vendor/autoload.php'; // Use the library namespace use ResellerServices\ResellerServices; // Then simply pass your API-Token when creating the API client object. $client = new ResellerServices('API-Token'); // Then you are able to perform a request var_dump($client->domain()->getPrice('de')); ?>
If you want more info on how to use this PHP-API you should check out the Wiki.
统计信息
- 总下载量: 56
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2021-08-27