cjrasmussen / invision-power-api
Simple helper for interacting with Invision Power Board's API
1.1.1
2024-09-11 22:48 UTC
Requires
- php: >=7.4.0
- ext-curl: *
- ext-json: *
README
Simple class for making requests to the Invision Power Board API. Not affiliated with Invision Power Services.
Usage
use cjrasmussen\InvisionPowerApi\InvisionPowerApi; $ipb = new InvisionPowerApi($token, $url); // GET THE MEMBER DATA FOR A SPECIFIED MEMBER $data = $ipb->request('GET', "/core/members/{$member_id}"); // RENAME A SPECIFIED FORUM $ipb->request('PUT', "/forums/forums/{$forum_id}", ['title' => 'New Forum Title']);
Installation
Simply add a dependency on cjrasmussen/invision-power-api to your composer.json file if you use Composer to manage the dependencies of your project:
composer require cjrasmussen/invision-power-api
Although it's recommended to use Composer, you can actually include the file(s) any way you want.
License
InvisionPowerApi is MIT licensed.