code: def parse(self):
          
  
          keys = {
              'fn': self._parse_name,
              'kind': self._parse_kind,
              'adr': self._parse_address,
              'tel': self._parse_phone,
              'email': self._parse_email,
              'role': self._parse_role,
              'title': self._parse_title
          }
  
          for val in self.vcard:
  
              try:
  
                  parser = keys.get(val[0])
                  parser(val)
  
              except (KeyError, ValueError, TypeError):
  
                  pass
docs: The function for parsing the vcard to the vars dictionary.