def _iterate(self, url, **queryparams):
<EOL>if '<STR_LIT>' in queryparams:<EOL><INDENT>if '<STR_LIT>' not in queryparams['<STR_LIT>'].split('<STR_LIT:U+002C>'):<EOL><INDENT>queryparams['<STR_LIT>'] += '<STR_LIT>'<EOL><DEDENT><DEDENT>queryparams.pop("<STR_LIT>", None)<EOL>queryparams.pop("<STR_LIT:count>", None)<EOL>result = self._mc_client._get(url=url, offset=<NUM_LIT:0>, count=<NUM_LIT:1000>, **queryparams)<EOL>total = result['<STR_LIT>']<EOL>if total > <NUM_LIT:1000>:<EOL><INDENT>for offset in range(<NUM_LIT:1>, int(total / <NUM_LIT:1000>) + <NUM_LIT:1>):<EOL><INDENT>result = merge_results(result, self._mc_client._get(<EOL>url=url,<EOL>offset=int(offset * <NUM_LIT:1000>),<EOL>count=<NUM_LIT:1000>,<EOL>**queryparams<EOL>))<EOL><DEDENT>return result<EOL><DEDENT>else:  <EOL><INDENT>return result<EOL><DEDENT>
Iterate over all pages for the given url. Feed in the result of self._build_path as the url.

:param url: The url of the endpoint
:type url: :py:class:`str`
:param queryparams: The query string parameters
queryparams['fields'] = []
queryparams['exclude_fields'] = []
queryparams['count'] = integer
queryparams['offset'] = integer