Skip to content

About

PHP based SDK for the NitrAPI

Topics

Resources

Stars

18 stars

Watchers

15 watching

Forks

Latest commit

 

History

280 Commits

Folders and files

Repository files navigation

Nitrapi-PHP

Latest Stable Version Latest Unstable Version Total Downloads

Official PHP based SDK for the Nitrapi RESTful API.

Recommends

  • PHP 5.5 or higher
  • Composer

Installation

Edit the composer.json and execute composer.phar update

{
    "require": {
        "nitrado/nitrapi-php-lib": "dev-master",
    }
}

Example

<?php

require_once '../vendor/autoload.php';

try {
    $api = new \Nitrapi\Nitrapi("<accesss token>");
    
    var_dump($api->getServices());
    
} catch(\Exception $e) {
    var_dump("API Error: " . $e->getMessage());
}

About

PHP based SDK for the NitrAPI

Topics

Resources

Stars

18 stars

Watchers

15 watching

Forks

Releases

Packages

Used by

Contributors

Languages