def get_provider(self, provider_id, provider_username=''):
        """
        invokes TouchWorksMagicConstants.ACTION_GET_PROVIDER action
        :return: JSON response
        """
        magic = self._magic_json(
            action=TouchWorksMagicConstants.ACTION_GET_PROVIDER,
            parameter1=provider_id,
            parameter2=provider_username)
        response = self._http_request(TouchWorksEndPoints.MAGIC_JSON, data=magic)
        result = self._get_results_or_raise_if_magic_invalid(
            magic,
            response,
            TouchWorksMagicConstants.RESULT_GET_PROVIDER)
        return result
def get_provider ( self , provider_id , provider_username = '' ) : magic = self . _magic_json ( action = TouchWorksMagicConstants . ACTION_GET_PROVIDER , parameter1 = provider_id , parameter2 = provider_username ) response = self . _http_request ( TouchWorksEndPoints . MAGIC_JSON , data = magic ) result = self . _get_results_or_raise_if_magic_invalid ( magic , response , TouchWorksMagicConstants . RESULT_GET_PROVIDER ) return result
invokes TouchWorksMagicConstants.ACTION_GET_PROVIDER action
        :return: JSON response