(self, base_url, username, password, study_id, prefetch=False)
Initialise OpenClinicaAPI

        :param base_url: Protocol, address (and port) of the server, e.g. "https://openclinica.example.com:8080/"
        :param username: Username enabled for API authentication
        :param password: Password
        :param study_id: Study identifier
        :param prefetch: Fetch WSDLs on init?
Initialise OpenClinicaAPI
Initialise OpenClinicaAPI
def __init__(self, base_url, username, password, study_id, prefetch=False):
        """
        Initialise OpenClinicaAPI

        :param base_url: Protocol, address (and port) of the server, e.g. "https://openclinica.example.com:8080/"
        :param username: Username enabled for API authentication
        :param password: Password
        :param study_id: Study identifier
        :param prefetch: Fetch WSDLs on init?
        """
        self._base_url = base_url if base_url[-1] == '/' else base_url + '/'
        self._username = username
        self._password = password
        self._study_id = study_id
        self._clients = {
            'data': None,
            'event': None,
            'study': None,
            'studyEventDefinition': None,
            'studySubject': None
        }
        if prefetch:
            for endpoint in self._clients:
                self.get_client(endpoint)
def __init__ ( self , base_url , username , password , study_id , prefetch = False ) : self . _base_url = base_url if base_url [ - 1 ] == '/' else base_url + '/' self . _username = username self . _password = password self . _study_id = study_id self . _clients = { 'data' : None , 'event' : None , 'study' : None , 'studyEventDefinition' : None , 'studySubject' : None } if prefetch : for endpoint in self . _clients : self . get_client ( endpoint )