private function sendRequest($method, $params) { return json_decode(file_get_contents($this->baseURL . $method . '?' . http_build_query($params)), true); }