code: def __init(self, folder='root'):
          
          params = {
              "f" : "json"
          }
          if folder == "root":
              url = self.root
          else:
              url = self.location
          json_dict = self._get(url=url,
                                   param_dict=params,
                                   securityHandler=self._securityHandler,
                                   proxy_port=self._proxy_port,
                                   proxy_url=self._proxy_url)
          self._json_dict = json_dict
          self._json = json.dumps(json_dict)
          attributes = [attr for attr in dir(self)
                        if not attr.startswith('__') and \
                        not attr.startswith('_')]
          for k,v in json_dict.items():
              if k == "folders":
                  pass
              elif k in attributes:
                  setattr(self, "_"+ k, json_dict[k])
              else:
                  print("%s - attribute not implemented in ags.Server class." % k)
          json_dict = self._get(url=self.root,
                                   param_dict=params,
                                   securityHandler=self._securityHandler,
                                   proxy_port=self._proxy_port,
                                   proxy_url=self._proxy_url)
          for k,v in json_dict.items():
              if k == 'folders':
                  v.insert(0, 'root')
                  setattr(self, "_"+ k, v)
docs: loads the property data into the class