public function makeRequest($url, $params)
    {
        $http = new HttpClient('https://api.github.com');
        $res = $http->get($url, $params);

        return $res['body'];
    }
public function makeRequest($url, $params)
    {
        $http = new HttpClient('https://api.github.com');
        $res = $http->get($url, $params);

        return $res['body'];
    }
public function makeRequest ( $ url , $ params ) { $ http = new HttpClient ( 'https://api.github.com' ) ; $ res = $ http -> get ( $ url , $ params ) ; return $ res [ 'body' ] ; }
Make a request to the Github API.
@param $url
@param $params
@return mixed
Make a request to the Github API .