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

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

text
https://api.gamemonitoring.ru/servers/3597174
json
{
  "response": {
    "id": 3597174,
    "ip": "134.255.222.202",
    "port": 20120,
    "query": 20120,
    "owner_name": null,
    "owner_avatar": null,
    "color": 0,
    "description": "",
    "game": 270880,
    "owner": null,
    "boosts": 1,
    "last_offline": 1743895761,
    "score": null,
    "last_online": 1744021439,
    "icon": null,
    "name": "Independence [Ger] 4Netplayers",
    "connect": "134.255.222.202:20110",
    "request": "134.255.222.202:20120",
    "map": "/map/usa.mbd",
    "gamemode": "American Truck Simulator",
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1711408900,
    "last_update": 1744021439,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "list_hidden": false,
    "app": {
      "id": 2949,
      "steam_id": 270880,
      "name": "American Truck Simulator",
      "url": "american-truck-simulator",
      "popular_maps_available": true
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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