def _build_image_url(self, monitor, mode) -> str:
query = urlencode({<EOL>'<STR_LIT>': mode,<EOL>'<STR_LIT>': monitor['<STR_LIT>'],<EOL>'<STR_LIT>': monitor['<STR_LIT>'],<EOL>})<EOL>url = '<STR_LIT>'.format(<EOL>zms_url=self._client.get_zms_url(), query=query)<EOL>_LOGGER.debug('<STR_LIT>',<EOL>monitor['<STR_LIT>'], mode, url)<EOL>return self._client.get_url_with_auth(url)<EOL>
Build and return a ZoneMinder camera image url.