src/PutIO/Engines/PutIO/FilesEngine.php
public function search($query, $page = 1)
    {
        return $this->get(sprintf(
            'files/search/%s/page/%d',
            rawurlencode(trim($query)),
            $page
        ));
    }
public function search($query, $page = 1)
    {
        return $this->get(sprintf(
            'files/search/%s/page/%d',
            rawurlencode(trim($query)),
            $page
        ));
    }
public function search ( $ query , $ page = 1 ) { return $ this -> get ( sprintf ( 'files/search/%s/page/%d' , rawurlencode ( trim ( $ query ) ) , $ page ) ) ; }
Returns an array of files matching the given search query.

@param string  $query   Search query
@param integer $page    Page number
@return array
Returns an array of files matching the given search query .