code: func NewClient(user, pass, base string) *Client {
  	return &Client{
  		ID:          user,
  		Token:       pass,
  		Client:      defaultHttpClient,
  		Base:        base,
  		UploadType:  JSON,
  		ErrorParser: DefaultErrorParser,
  	}
  }
docs: // NewClient returns a new Client with the given user and password. Base is the
  // scheme+domain to hit for all requests.