FANDOM



The War API provides information about war.

Accessing the API

https://politicsandwar.com/api/war/WARIDHERE

Example: https://politicsandwar.com/api/war/184112

JSON Example

{
"success":true,
"war":[{"war_ended":true,
"date":"2017-01-01T00:00:00+00:00",
"aggressor_id":"6",
"defender_id":"14820",
"aggressor_alliance_name":"Example Alliance B"
"aggressor_is_applicant":true,
"defender_alliance_name":"Example Alliance A",
"defender_is_applicant":false,
"aggressor_offering_peace":true,
"war_reason":"Example for the API Wiki Page",
"ground_control":"6",
"air_superiority":"14820",
"blockade":"14820",
"aggressor_military_action_points":"7",
"defender_military_action_points":"3",
"aggressor_resistance":"25",
"defender_resistance":"49",
"aggressor_is_fortified":true,
"defender_is_fortified":false,
"turns_left":0
}]}
Community content is available under CC-BY-SA unless otherwise noted.