Skip to content

About

A full-featured implementation of the VPNResellers API Client

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💾 VPNResellers PHP API Client

visitors

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());
?>

About

A full-featured implementation of the VPNResellers API Client

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages