def client_create(self, label=None):
result = self.client.post('<STR_LIT>', data={<EOL>"<STR_LIT:label>": label<EOL>})<EOL>if not '<STR_LIT:id>' in result:<EOL><INDENT>raise UnexpectedResponseError('<STR_LIT>'<EOL>'<STR_LIT>', json=result)<EOL><DEDENT>c = LongviewClient(self.client, result['<STR_LIT:id>'], result)<EOL>return c<EOL>
Creates a new LongviewClient, optionally with a given label.

:param label: The label for the new client.  If None, a default label based
    on the new client's ID will be used.

:returns: A new LongviewClient

:raises ApiError: If a non-200 status code is returned
:raises UnexpectedResponseError: If the returned data from the api does
    not look as expected.