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: 5 days 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 (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T09:31:58.000Z (9 months ago)
- Last Synced: 2024-10-28T12:34:34.996Z (9 months ago)
- Topics: nitrado, nitrapi, php-library, php-sdk
- Language: PHP
- Homepage: https://server.nitrado.net/
- Size: 374 KB
- Stars: 16
- Watchers: 17
- Forks: 11
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
Nitrapi-PHP
===========[](https://packagist.org/packages/nitrado/nitrapi-php-lib)
[](https://packagist.org/packages/nitrado/nitrapi-php-lib)
[](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());
}
```