api-php
api-php copied to clipboard
PHP library wrapper to communicate with the SinusBot http API.
SinusBot API PHP Class
PHP Wrapper to communicate with the SinusBot API.
Usage
via Composer
composer require sinusbot/sinusbot-api-php
Require the composer's autoload.php
in the top of your php
file:
require __DIR__ . '/vendor/autoload.php';
Then you can use the SinusBot API via the SinusBot\API
class.
via Source
Download and extract the latest release here. Rename the folder to sinusbot
, after that require the autoload.php
:
require __DIR__ . '/sinusbot/src/autoload.php';
Then you can use the SinusBot API via the SinusBot\API
class.
Examples
There are a few examples located in the examples directory.
Documentation
A complete list of methods can be found in the documenation.
Compatibility
It's compatible with the consumer and hosting version of the SinusBot.
Copyright
This libary was originally created by Manuel Hettche from TS3index.