lib/client.js
function Client(options) {
    options = options || { };
    this._key = options.key || null;
    this._secret = options.secret || null;
    this._proxy = options.proxy || null;
    return this;
}
function Client(options) {
    options = options || { };
    this._key = options.key || null;
    this._secret = options.secret || null;
    this._proxy = options.proxy || null;
    return this;
}
function Client ( options ) { options = options || { } ; this . _key = options . key || null ; this . _secret = options . secret || null ; this . _proxy = options . proxy || null ; return this ; }
An API client.
All the module functions can be accessed using a client

@example
// create a new client
var client = new sdk.Client({ key: "SoM3C0mP1exKey", secret: "pSu3d0rAnD0mS3CrEt" });

// retrieive a single traffic update
client.trafficUpdates.getOne(1, function(err, items) {
console.log(err, items);
});

@constructor
@param {Object} [options]
@param {String} options.key - API key
@param {String} options.secret - API secret
@param {String} options.proxy - a valid URL to use as proxy
An API client . All the module functions can be accessed using a client