protected function call($path, $data)
    {
        $url = $this->api_host.$path.'?'.http_build_query($data);

        $ch = curl_init($url);

        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_TIMEOUT, 5);

        $return = curl_exec($ch);

        curl_close($ch);

        return $return;
    }