def _api_url(self, path, **context):
if self.host == '<STR_LIT>':<EOL><INDENT>baseurl = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>baseurl = "<STR_LIT>".format(self.host)<EOL><DEDENT>return baseurl + path.format(**context)<EOL>
Build the full url to the API endpoint