@retry<EOL><INDENT>def _call(self, target, method, target_class=None, single_result=True, raw=False, files=None, **kwargs):<DEDENT>
if target_class is None:<EOL><INDENT>target_class = target<EOL><DEDENT>params = prepare_query_params(<EOL>NetworkToken=self.network_token,<EOL>NetworkId=self.network_id,<EOL>Target=target,<EOL>Method=method,<EOL>**kwargs<EOL>)<EOL>kwargs = {'<STR_LIT:url>': self.endpoint, '<STR_LIT>': params, '<STR_LIT>': self.verify, '<STR_LIT>': '<STR_LIT:GET>'}<EOL>if files:<EOL><INDENT>kwargs.update({'<STR_LIT>': '<STR_LIT:POST>', '<STR_LIT>': files})<EOL><DEDENT>self.logger.debug('<STR_LIT>', params)<EOL>response = self.session.request(**kwargs)<EOL>self.logger.debug('<STR_LIT>', response.status_code, response.text)<EOL>response.raise_for_status()<EOL>data = response.json(object_pairs_hook=OrderedDict)<EOL>return self.handle_response(data, target=target_class, single_result=single_result, raw=raw)<EOL>
Low-level call to HasOffers API.
:param target_class: type of resulting object/objects.