Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/235435json
{
"response": {
"id": 235435,
"ip": "5.189.124.206",
"port": 27016,
"query": 27016,
"color": 0,
"description": "",
"game": 550,
"owner": null,
"boosts": 1,
"last_offline": 1761015152,
"score": null,
"last_online": 1762339813,
"icon": null,
"name": "ZOZO.GG | EXTREME COOP 4+ (EKB)",
"connect": "5.189.124.206:27016",
"request": "5.189.124.206:27016",
"map": "c14m2_lighthouse",
"gamemode": "Left 4 Dead 2",
"version": "2.2.4.3",
"numplayers": 14,
"maxplayers": 17,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 77,
"add_date": 1583081797,
"last_update": 1762339813,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 11,
"steam_id": 550,
"name": "Left 4 Dead 2",
"url": "left-4-dead-2",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/235435");
$data = json_decode($json, true);
var_dump($data);