docs: function factory( options, clbk ) {
  	var opts;
  	var err;
  	opts = copy( defaults );
  	err = validate( opts, options );
  	if ( err ) {
  		throw err;
  	}
  	if ( opts.port === null ) {
  		if ( opts.protocol === 'https' ) {
  			opts.port = DEFAULT_HTTPS_PORT;
  		} else {
  			opts.port = DEFAULT_HTTP_PORT;
  		}
  	}
  	if ( !isFunction( clbk ) ) {
  		throw new TypeError( 'invalid input argument. Callback argument must be a function. Value: `' + clbk + '`.' );
  	}
  	/**
  	* FUNCTION: get()
  	*	Resolves endpoint resources.
  	*
  	* @returns {Void}
  	*/
  	return function get() {
  		query( opts, done );
  	}; // end FUNCTION get()
  
  	/**
  	* FUNCTION: done( error, data )
  	*	Callback invoked after resolving resources.
  	*
  	* @private
  	* @param {Error|Null} error - error object
  	* @param {Object[]} data - query data
  	* @returns {Void}
  	*/
  	function done( error, data ) {
  		if ( error ) {
  			return clbk( error );
  		}
  		clbk( null, data );
  	} // end FUNCTION done()
  }