exbil/vpnresellers-php-api
最新稳定版本:v3.2
Composer 安装命令:
composer require exbil/vpnresellers-php-api
包简介
A full-featured implementation of the VPNResellers API Client
README 文档
README
Getting Started
Requirements
⚒️ Install
In the root of your project execute the following:
composer require exbil/vpnresellers-php-api
or add this to your composer.json file:
{
"require": {
"exbil/vpnresellers-php-api": "^1.0"
}
}
Then perform the installation:
$ composer install --no-dev
📑 Usage
Search for the official API Documentation here.
You need an API Key for that.
🗃️ Basic
<?php // Require the autoloader require_once 'vendor/autoload.php'; // Use the library namespace use VPNResellersAPI\VPNResellersAPI; // Then simply pass your API-Token when creating the API client object. $apiKey = getenv('VPNRESELLERS_API_KEY'); $client = new VPNResellersAPI($apiKey); // Then you are able to perform a request var_dump($client->servers()->getServers()); ?>
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2024-10-16