lib/client.js
function(query, callback) {
        if (typeof query === 'function' && !callback) {
            callback = query;
            query = null;
        }

        // Fetch the response
        request.get(this.getImagesUrl(query), function(err, res, body) {
            callback(
                err,
                body && body.images,
                body && body.search,
                res
            );
        });

        return this;
    }
function(query, callback) {
        if (typeof query === 'function' && !callback) {
            callback = query;
            query = null;
        }

        // Fetch the response
        request.get(this.getImagesUrl(query), function(err, res, body) {
            callback(
                err,
                body && body.images,
                body && body.search,
                res
            );
        });

        return this;
    }
function ( query , callback ) { if ( typeof query === 'function' && ! callback ) { callback = query ; query = null ; } // Fetch the response request . get ( this . getImagesUrl ( query ) , function ( err , res , body ) { callback ( err , body && body . images , body && body . search , res ) ; } ) ; return this ; }
Get a list of images currently stored on the server,
and optionally provide a query to filter the results

@param {Query|Function} query - A query to use for filtering. If a function
is passed, it will be used as the callback
and the query will use default settings
@param {Function} callback
@return {ImboClient}
Get a list of images currently stored on the server and optionally provide a query to filter the results