public function history($category = '', $start = 0, $limit = 100, $failedOnly = false)
    {
        $url = $this->buildUrl('history', [
            'start'       => $start,
            'limit'       => $limit,
            'failed_only' => $failedOnly,
            'category'    => $category
        ]);
        $request = $this->guzzle->request('GET', $url);

        return json_decode($request->getBody(), true)['history'];
    }
public function history($category = '', $start = 0, $limit = 100, $failedOnly = false)
    {
        $url = $this->buildUrl('history', [
            'start'       => $start,
            'limit'       => $limit,
            'failed_only' => $failedOnly,
            'category'    => $category
        ]);
        $request = $this->guzzle->request('GET', $url);

        return json_decode($request->getBody(), true)['history'];
    }
public function history ( $ category = '' , $ start = 0 , $ limit = 100 , $ failedOnly = false ) { $ url = $ this -> buildUrl ( 'history' , [ 'start' => $ start , 'limit' => $ limit , 'failed_only' => $ failedOnly , 'category' => $ category ] ) ; $ request = $ this -> guzzle -> request ( 'GET' , $ url ) ; return json_decode ( $ request -> getBody ( ) , true ) [ 'history' ] ; }
Returns all items in the history and some additional information

@param string $category
@param int    $start
@param int    $limit
@param bool   $failedOnly

@return array
Returns all items in the history and some additional information