def _get_chunk(self, name_chunk, country_id, language_id):
params = [('<STR_LIT>', name) for name in name_chunk]<EOL>if self.api_key:<EOL><INDENT>params.append(('<STR_LIT>', self.api_key))<EOL><DEDENT>if country_id:<EOL><INDENT>params.append(('<STR_LIT>', country_id))<EOL><DEDENT>if language_id:<EOL><INDENT>params.append(('<STR_LIT>', language_id))<EOL><DEDENT>response = self.session.get(<EOL>'<STR_LIT>',<EOL>params=params,<EOL>timeout=self.timeout)<EOL>if '<STR_LIT:application/json>' not in response.headers.get('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>status = "<STR_LIT>".format(<EOL>http_code=response.status_code, reason=response.reason)<EOL>raise GenderizeException(<EOL>'<STR_LIT>'.format(status=status),<EOL>response.headers)<EOL><DEDENT>decoded = response.json()<EOL>if response.ok:<EOL><INDENT>if not isinstance(decoded, list):<EOL><INDENT>decoded = [decoded]<EOL><DEDENT>decoded = [self._fixtypes(data) for data in decoded]<EOL>return _GenderizeResponse(data=decoded, headers=response.headers)<EOL><DEDENT>else:<EOL><INDENT>raise GenderizeException(<EOL>decoded['<STR_LIT:error>'],<EOL>response.status_code,<EOL>response.headers)<EOL><DEDENT>
:type name_chunk: Iterable[str]
:type country_id: Optional[str]
:type language_id: Optional[str]
:rtype: