Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/503391json
{
"response": {
"steam_id": null,
"domain": null,
"id": 503391,
"ip": "51.77.72.157",
"port": 27015,
"query": 27015,
"color": 0,
"city": null,
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1759001102,
"score": 5,
"last_online": 1764129018,
"icon": null,
"name": "ZM.WESTCSTRIKE.RO Zombie Plague 6.3",
"connect": "51.77.72.157:27015",
"request": "51.77.72.157:27015",
"map": "zm_decay",
"gamemode": "FREE VIP",
"version": "1.1.2.7/Stdio",
"numplayers": 3,
"maxplayers": 32,
"bots": 7,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 3,
"points": 34,
"add_date": 1639162641,
"last_update": 1764129018,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"position_game": 5164,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/503391");
$data = json_decode($json, true);
var_dump($data);