def login(self, username, password=None, token=None):
        """Login user for protected API calls."""
        self.session.basic_auth(username, password)
def login(self, username, password=None, token=None):
        """Login user for protected API calls."""
        self.session.basic_auth(username, password)
def login ( self , username , password = None , token = None ) : self . session . basic_auth ( username , password )
Login user for protected API calls.
Login user for protected API calls .