Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами

JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/231421
json
{
  "response": {
    "id": 231421,
    "ip": "192.223.29.26",
    "port": 7707,
    "query": 28852,
    "color": 0,
    "description": "",
    "game": 1250,
    "owner": null,
    "boosts": 1,
    "last_offline": 1761215623,
    "score": null,
    "last_online": 1762342250,
    "icon": null,
    "name": "{v@g}brains-kfserver-perks-6-30-long-custom-maps",
    "connect": "192.223.29.26:7707",
    "request": "192.223.29.26:28852",
    "map": "KF-ZZ-Z-Baby-Girl",
    "gamemode": "Boss Squads",
    "version": "1.0.6.5",
    "numplayers": 0,
    "maxplayers": 35,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1583081824,
    "last_update": 1762342250,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "app": {
      "id": 50,
      "steam_id": 1250,
      "name": "Killing Floor",
      "url": "killing-floor",
      "popular_maps_available": true
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/231421");
$data = json_decode($json, true);
var_dump($data);