protected function get($api_uri)
    {
        try {
            $response = $this->client->get($api_uri);

            $code    = $response->getStatusCode();
            $message = $response->getReasonPhrase();

            $body = $response->getBody();
            $data = json_decode($body->getContents(), $this->assoc);

        } catch (RequestException $e) {
            $code    = 500;
            $message = 'RequestException';
            $data    = $e->getMessage();

        } catch (ClientException $e) {
            $code    = 500;
            $message = 'RequestException';
            $data    = $e->getMessage();
        }

        return $this->output($code, $message, $data);
    }