Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/205551
json
{
"response": {
"id": 205551,
"ip": "74.91.115.106",
"port": 27015,
"query": 27015,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 30,
"owner": null,
"boosts": 1,
"last_offline": 1742913427,
"score": null,
"last_online": 1743954647,
"icon": null,
"name": "-={TEK}=- Community Axis Bot Server (Modified Maps)",
"connect": "74.91.115.106:27015",
"request": "74.91.115.106:27015",
"map": "dod_dustswitch_mtek",
"gamemode": "Day of Defeat",
"version": "1.1.2.6",
"numplayers": 16,
"maxplayers": 32,
"bots": 16,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 75,
"add_date": 1582844967,
"last_update": 1743954647,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 28,
"steam_id": 30,
"name": "Day of Defeat",
"url": "day-of-defeat",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/205551");
$data = json_decode($json, true);
var_dump($data);