andriilive / russia-casualties-ukraine-war-parser

Russian army losses GitHub-powered parser & JSON API. Updated daily
https://russia-casualties-ukraine-war-parser.vercel.app
MIT License
2 stars 0 forks source link
cherio github-actions json-server russiagoodbyeproject ukraine vercel

Russia Army Casualties API

StandWithUkraine GitPod Start parser

A cozy opensource Russia army casualties parser for open-source lovers. Parses, stores and publishes structured russian army losses. Updated daily at 8:30 UTC (10:30 Europe/KIEV)

https://russia-casualties-ukraine-war-parser.vercel.app

API

By default api returns today's casualties data as array of today's incremental and total casualties [today, total].

curl -fsSL https://russia-casualties-ukraine-war-parser.vercel.app/api
{
  "day": 607,
  "militaryPersonnel": [870, 294700],
  "jet": [0, 320],
  "copter": [0, 324],
  "tank": [12, 5093],
  "armoredCombatVehicle": [22, 9653],
  "artillerySystem": [25, 7057],
  "airDefenceSystem": [2, 551],
  "mlrs": [0, 825],
  "supplyVehicle": [15, 9419],
  "ship": [0, 20],
  "uav": [6, 5345]
}

Casualties

Today

curl -fsSL https://russia-casualties-ukraine-war-parser.vercel.app/api/today

Response structure example:

{
  "id": 607, /* WAR DAY NUMBER */
  "militaryPersonnel": 294700,
  "jet": 320,
  "copter": 324,
  "tank": 5093,
  "armoredCombatVehicle": 9653,
  "artillerySystem": 7057,
  "airDefenceSystem": 551,
  "mlrs": 825,
  "supplyVehicle": 9419,
  "ship": 20,
  "uav": 5345,
  "created_at": "2023-10-23T08:34:32.371Z"
}

Specific day

curl -fsSL https://russia-casualties-ukraine-war-parser.vercel.app/api/607

Last 2 days

curl -fsSL https://russia-casualties-ukraine-war-parser.vercel.app/api/last

Parsed days

curl -fsSL https://russia-casualties-ukraine-war-parser.vercel.app/api/days

i18n Strings

Languages available: ua, ru, cs, en

Single language

curl -fsSL https://russia-casualties-ukraine-war-parser.vercel.app/api/i18n/ua

Response structure example:

{
  "id": "ua",
  "languageName": "Українська",
  "casualtiesTypes": {
    "militaryPersonnel": "Особистий військовий склад",
    "jet": "Літаки",
    "copter": "Гелікоптери",
    "tank": "Танки",
    "armoredCombatVehicle": "Бойові броньовані машини",
    "artillerySystem": "Артилерійські системи",
    "airDefenceSystem": "Засоби протиповітряної оборони",
    "mlrs": "Реактивні системи залпового вогню",
    "supplyVehicle": "Автомобільна техніка і цистерни з паливом",
    "ship": "Кораблі та танкери",
    "uav": "Безпілотні літальні апарати"
  }
}

i18n All languages Listing

curl -fsSL https://russia-casualties-ukraine-war-parser.vercel.app/api/i18n

Parser

Simplest ever parser. Uses Ukrainska Pravda as data source.

Useful Links 🔗