def _load_data(self, resource, default=DEFAULT_VALUE_SAFEGUARD, **kwargs):
default_val = default if default != self.DEFAULT_VALUE_SAFEGUARD else {}<EOL>try:<EOL><INDENT>return get_edx_api_data(<EOL>api_config=CatalogIntegration.current(),<EOL>resource=resource,<EOL>api=self.client,<EOL>**kwargs<EOL>) or default_val<EOL><DEDENT>except (SlumberBaseException, ConnectionError, Timeout) as exc:<EOL><INDENT>LOGGER.exception(<EOL>'<STR_LIT>',<EOL>resource, kwargs, str(exc)<EOL>)<EOL>return default_val<EOL><DEDENT>
Load data from API client.

Arguments:
    resource(string): type of resource to load
    default(any): value to return if API query returned empty result. Sensible values: [], {}, None etc.

Returns:
    dict: Deserialized response from Course Catalog API