kotchuprik/php-brainstorage

Unofficial Brainstorage Library based on parsing

dev-master 2014-11-10 03:48 UTC

This package is not auto-updated.

Last update: 2024-11-09 16:32:26 UTC


README

Unofficial Brainstorage PHP Library based on parsing with the use sleeping-owl/apist

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require kotchuprik/php-brainstorage "dev-master"

or add

"kotchuprik/php-brainstorage": "dev-master"

to the require section of your application composer.json file.

Usage

require('vendor/autoload.php');

$client = new \kotchuprik\brainstorage\Client();

// Getting jobs on the page
$page = 1;
$items = $client->getItems($page);

// Getting the job description
var_export($client->getItem(reset($items)['id']));