def __init__(self, hostname: str = '<STR_LIT>',<EOL>port: int = <NUM_LIT>, retries: int = <NUM_LIT:10>,<EOL>log_errors: bool = False) -> None:
self.hostname = hostname<EOL>self.port = port<EOL>self.retries = retries<EOL>self.log_errors = log_errors<EOL>self._log_fp = Path(tempfile.gettempdir(), '<STR_LIT>')<EOL>if self._log_fp.is_file():<EOL><INDENT>self._log_fp.open('<STR_LIT:w>').close()<EOL><DEDENT>
:param hostname: The IP address of the TweeboParser API server.
:param port: The Port that the TweeboParser API server is attached to.
:param retries: Number of times to retry json decoding the
                returned data.