code: function API(uri, opts) {
    this.uri = uri;
  
    /* checking the required arguments */
    [
      'consumer_key',
      'consumer_secret',
      'token',
      'token_secret'
    ].forEach(function (item) {
      if (opts[item] == null)
        throw new Error('There\'s a required argument missing: ' + item);
    });
  
    this.opts = opts;
  }
docs: Module: API ===========  Abstraction for the basic `GET`/`POST` operations of Twitter's REST API.  Methods -------  + [Constructor/Initialize](#constructor) + [GET](#get) + [POST](#post)  Usage -----  ``` var TwitterLib = require('twitter-rest-lite'), api = new TwitterLib.API(var_with_keys);  api.get(url, params, callback);  api.post(url, data, callback); ```  <a name='constructor'></a> Constructor -----------  #### Parameters  + `uri`           - base URI's to use (this should be provided by the library itself) + `opts`          - `Object` with user-provided params - `consumer_key` - required - `consumer_secret` - required - `token` - required - `token_secret` - required  #### Returns  An `Object` with methods `get` and `post`.  #### Code