Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nitrado/NitrAPI-PHP
PHP based SDK for the NitrAPI
https://github.com/nitrado/NitrAPI-PHP
nitrado nitrapi php-library php-sdk
Last synced: 3 months ago
JSON representation
PHP based SDK for the NitrAPI
- Host: GitHub
- URL: https://github.com/nitrado/NitrAPI-PHP
- Owner: nitrado
- License: mit
- Created: 2014-09-25T21:28:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-25T09:54:00.000Z (4 months ago)
- Last Synced: 2024-07-25T11:22:37.026Z (4 months ago)
- Topics: nitrado, nitrapi, php-library, php-sdk
- Language: PHP
- Homepage: https://server.nitrado.net/
- Size: 367 KB
- Stars: 16
- Watchers: 17
- Forks: 12
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
Nitrapi-PHP
===========[![Latest Stable Version](https://poser.pugx.org/nitrado/nitrapi-php-lib/v/stable.png)](https://packagist.org/packages/nitrado/nitrapi-php-lib)
[![Latest Unstable Version](https://poser.pugx.org/nitrado/nitrapi-php-lib/v/unstable.svg)](https://packagist.org/packages/nitrado/nitrapi-php-lib)
[![Total Downloads](https://poser.pugx.org/nitrado/nitrapi-php-lib/downloads.png)](https://packagist.org/packages/nitrado/nitrapi-php-lib)Official PHP based SDK for the Nitrapi RESTful API.
Recommends
---------* PHP 5.5 or higher
* ComposerInstallation
------------Edit the composer.json and execute composer.phar update
``` php
{
"require": {
"nitrado/nitrapi-php-lib": "dev-master",
}
}
```Example
-------```php
");
var_dump($api->getServices());
} catch(\Exception $e) {
var_dump("API Error: " . $e->getMessage());
}
```