code: def get_token(self, force=False):
          
          self.authenticated = self._has_valid_token()
          if force or not self.authenticated:
              self.authenticate()
          return self.token
docs: Returns the auth token, if it is valid. If not, calls the auth endpoint
          to get a new token. Passing 'True' to 'force' forces a call for a new
          token, even if there already is a valid token.