code: def client_create(self, label=None):
          
          result = self.client.post('/longview/clients', data={
              "label": label
          })
  
          if not 'id' in result:
              raise UnexpectedResponseError('Unexpected response when creating Longivew '
                  'Client!', json=result)
  
          c = LongviewClient(self.client, result['id'], result)
          return c
docs: 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.