wotblitz.js
function(tank_id, profile_id, modules, fields) {
		if (!tank_id) return Promise.reject(new Error('wotblitz.encyclopedia.vehicleprofile: tank_id is required'));

		return request({
			hostname: hosts.wotb,
			path: '/wotb/encyclopedia/vehicleprofile/'
		}, Object.assign({
			tank_id: tank_id,
			fields: fields ? fields.toString() : ''
		}, modules || {
			profile_id: profile_id
		}));
	}
function(tank_id, profile_id, modules, fields) {
		if (!tank_id) return Promise.reject(new Error('wotblitz.encyclopedia.vehicleprofile: tank_id is required'));

		return request({
			hostname: hosts.wotb,
			path: '/wotb/encyclopedia/vehicleprofile/'
		}, Object.assign({
			tank_id: tank_id,
			fields: fields ? fields.toString() : ''
		}, modules || {
			profile_id: profile_id
		}));
	}
function ( tank_id , profile_id , modules , fields ) { if ( ! tank_id ) return Promise . reject ( new Error ( 'wotblitz.encyclopedia.vehicleprofile: tank_id is required' ) ) ; return request ( { hostname : hosts . wotb , path : '/wotb/encyclopedia/vehicleprofile/' } , Object . assign ( { tank_id : tank_id , fields : fields ? fields . toString ( ) : '' } , modules || { profile_id : profile_id } ) ) ; }
Characteristics with different vehicle modules installed.

@param {string} tank_id vehicle to select
@param {string} [profile_id] shorthand returned by the "vehicleprofiles" route
@param {Object} [modules] specify modules individually (overrides profile_id)
@param {number} [modules.engine_id] which engine module to select
@param {number} [modules.gun_id] which gun module to select
@param {number} [modules.suspension_id] which suspension module to select
@param {number} [modules.turret_id] which turret module to select
@param {string|string[]} [fields] response selection
@returns {Promise<Object>} resolves to exact vehicle information
Characteristics with different vehicle modules installed .