code: def synchronize(self, status):
          
          self._version = status.get('server').get('version')
          self._groups = {}
          self._clients = {}
          self._streams = {}
          for stream in status.get('server').get('streams'):
              self._streams[stream.get('id')] = Snapstream(stream)
              _LOGGER.debug('stream found: %s', self._streams[stream.get('id')])
          for group in status.get('server').get('groups'):
              self._groups[group.get('id')] = Snapgroup(self, group)
              _LOGGER.debug('group found: %s', self._groups[group.get('id')])
              for client in group.get('clients'):
                  self._clients[client.get('id')] = Snapclient(self, client)
                  _LOGGER.debug('client found: %s', self._clients[client.get('id')])
docs: Synchronize snapserver.