Class: NationDumpRequest

nationscript/requests/dump~NationDumpRequest(date)

Request subclass for reading Daily Data Dumps of nations.

Constructor

new NationDumpRequest(date)

Parameters:
Name Type Description
date Date

Date to fetch the Dump for

Members

(package) filename :FileNamerNormal

Type:
  • FileNamerNormal

Methods

getFilePath()

(async) send() → {Promise.<Array.<types.DumpNation>>}

Only nations fulfilling the filter are returned.

Returns:
Type
Promise.<Array.<types.DumpNation>>

setFilter(filter)

Parameters:
Name Type Description
filter Factory.FactoryDecider.<types.DumpNation>