src/Api.php
public function get($uri)
    {
        $options = array(
            CURLOPT_URL => $this->domain.'/'.ltrim($uri, '/'),
            CURLOPT_FOLLOWLOCATION => 1,
            CURLOPT_RETURNTRANSFER => 1,
        );

        return $this->exec($options);
    }
public function get($uri)
    {
        $options = array(
            CURLOPT_URL => $this->domain.'/'.ltrim($uri, '/'),
            CURLOPT_FOLLOWLOCATION => 1,
            CURLOPT_RETURNTRANSFER => 1,
        );

        return $this->exec($options);
    }
public function get ( $ uri ) { $ options = array ( CURLOPT_URL => $ this -> domain . '/' . ltrim ( $ uri , '/' ) , CURLOPT_FOLLOWLOCATION => 1 , CURLOPT_RETURNTRANSFER => 1 , ) ; return $ this -> exec ( $ options ) ; }
Read data from cauditor API.

@param string $uri

@return string|bool API response (on success) or false (on failure)
Read data from cauditor API .