Fetch the alliances dump.
Optionaldate: string
Optional dump date (YYYY-MM-DD); defaults to the latest available
Fetch the cities dump.
Optionaldate: string
Optional dump date (YYYY-MM-DD); defaults to the latest available
Fetch a dump by category name.
The dump category (see DataDumpCategory)
Optionaldate: string
Optional dump date (YYYY-MM-DD); defaults to the latest available
The parsed, type-cast rows for the category
Fetch the nations dump.
Optionaldate: string
Optional dump date (YYYY-MM-DD); defaults to the latest available
Fetch the trades dump.
Optionaldate: string
Optional dump date (YYYY-MM-DD); defaults to the latest available
Fetch the wars dump.
Optionaldate: string
Optional dump date (YYYY-MM-DD); defaults to the latest available
Access to the Politics & War daily data dumps (https://politicsandwar.com/data).
Each method downloads a category's dump, unzips and parses it, and returns the rows fully typed and cast (see the row interfaces in DataDumpRowMap). With no
datethe most recent available dump is used; pass aYYYY-MM-DDdate to fetch a specific day.Example