def __init__(   self,
                    domain,
                    portal_name,
                    user,
                    auth='__prompt__',
                    use_token=False,
                    debug=False):
        """
            Params:
                domain:         the domain of the Exosite domain your Portal is on. 
                                i.e. mydomain.exosite.com
                portal_name:    the name of the Exosite Portal. i.e. 'My Device Portal'
                user:           typically, the email address you use to logon to Portals 
                                or your Portals user name
                auth:           if left blank, the creator of the Portals object will 
                                be prompted for their Portals password if specifying the 
                                auth parameter, it should be either the user password or a 
                                Portals token
                use_token:      if using a token in the auth parameter, set this to True. 
                                Otherwise, leave blank
        """
        if auth == '__prompt__':
            print('') # some interpreters don't put a newline before the getpass prompt
            auth = getpass('Enter User Password: ')
        else:
            auth = auth
        Endpoints.__init__(   self, 
                            domain,
                            portal_name,
                            user,
                            auth,
                            use_token=use_token
        )
def __init__ ( self , domain , portal_name , user , auth = '__prompt__' , use_token = False , debug = False ) : if auth == '__prompt__' : print ( '' ) auth = getpass ( 'Enter User Password: ' ) else : auth = auth Endpoints . __init__ ( self , domain , portal_name , user , auth , use_token = use_token )
Params:
                domain:         the domain of the Exosite domain your Portal is on. 
                                i.e. mydomain.exosite.com
                portal_name:    the name of the Exosite Portal. i.e. 'My Device Portal'
                user:           typically, the email address you use to logon to Portals 
                                or your Portals user name
                auth:           if left blank, the creator of the Portals object will 
                                be prompted for their Portals password if specifying the 
                                auth parameter, it should be either the user password or a 
                                Portals token
                use_token:      if using a token in the auth parameter, set this to True. 
                                Otherwise, leave blank