private function getUrl($endpoint) { return $this->baseUrl . $endpoint . '?hapikey=' . $this->apiKey; }