wotblitz.js
function(options, fields) {
		options = Object.assign({
			search: null,
			status: null,
			page_no: null,
			limit: null
		}, options, {
			fields: fields ? fields.toString() : ''
		});

		if (Array.isArray(options.status)) options.status = options.status.toString();

		return request({
			hostname: hosts.wotb,
			path: '/wotb/tournaments/list/'
		}, options);
	}
function(options, fields) {
		options = Object.assign({
			search: null,
			status: null,
			page_no: null,
			limit: null
		}, options, {
			fields: fields ? fields.toString() : ''
		});

		if (Array.isArray(options.status)) options.status = options.status.toString();

		return request({
			hostname: hosts.wotb,
			path: '/wotb/tournaments/list/'
		}, options);
	}
function ( options , fields ) { options = Object . assign ( { search : null , status : null , page_no : null , limit : null } , options , { fields : fields ? fields . toString ( ) : '' } ) ; if ( Array . isArray ( options . status ) ) options . status = options . status . toString ( ) ; return request ( { hostname : hosts . wotb , path : '/wotb/tournaments/list/' } , options ) ; }
List of all tournaments.

@param {Object} [options]
@param {string} [options.search]
@param {string|string[]} [options.status]
@param {number} [options.page_no]
@param {number} [options.limit]
@param {string|string[]} [fields] response selection
@returns {Promise<Object>}
List of all tournaments .