def findItems(self, data, cls=None, initpath=None, **kwargs):
<EOL>if cls and cls.TAG and '<STR_LIT>' not in kwargs:<EOL><INDENT>kwargs['<STR_LIT>'] = cls.TAG<EOL><DEDENT>if cls and cls.TYPE and '<STR_LIT:type>' not in kwargs:<EOL><INDENT>kwargs['<STR_LIT:type>'] = cls.TYPE<EOL><DEDENT>items = []<EOL>for elem in data:<EOL><INDENT>if self._checkAttrs(elem, **kwargs):<EOL><INDENT>item = self._buildItemOrNone(elem, cls, initpath)<EOL>if item is not None:<EOL><INDENT>items.append(item)<EOL><DEDENT><DEDENT><DEDENT>return items<EOL>
Load the specified data to find and build all items with the specified tag
            and attrs. See :func:`~plexapi.base.PlexObject.fetchItem` for more details
            on how this is used.