Ejemplo n.º 1
0
    def __init__(self, group_id, api_user, api_key, api_host="https://cloud.mongodb.com"):
        """
        An API client for RESTful interaction with the MongoDB CloudManager API

        :param group_id: CloudManager group_id
        :param api_user: CloudManager api_user
        :param api_key: CloudManager api_key associated with the provided user
        :param api_host: Optional endpoint host in the case it is required to override the default
        :return:
        """
        self.client = CloudManagerClient(group_id, api_user, api_key, api_host)