lib/kissmetrics.js
function kissmetrics_client(options) {
  
  var options   = options || {}
    ;
    
  this.host = options.host || DEFAULT_TRACKER_SERVER;
  this.port = options.port || DEFAULT_TRACKER_PORT;
  
  this.key  = options.key;

}
function kissmetrics_client(options) {
  
  var options   = options || {}
    ;
    
  this.host = options.host || DEFAULT_TRACKER_SERVER;
  this.port = options.port || DEFAULT_TRACKER_PORT;
  
  this.key  = options.key;

}
****************************************************************************
KISSmetrics REST client constructor.

@param options {Object} The options object defining the REST client to
instantiate. Its possible parameters are :

@param key {String} your KISSmetrics API key.

@param host {String} (optional) The tracker host to which the client must be
connected to. Defaults to 'trk.kissmetrics.com'

@param port {Number} (optional) The port of the tracker to connect to.
Defaults to port 80