Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/464315
json
{
"response": {
"id": 464315,
"ip": "104.153.105.57",
"port": 27016,
"query": 27016,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 300,
"owner": null,
"boosts": 1,
"last_offline": 1740849252,
"score": null,
"last_online": 1743996721,
"icon": null,
"name": "8th Infantry Division Realism | Enlist @ eighthid.com",
"connect": "104.153.105.57:27016",
"request": "104.153.105.57:27016",
"map": "dod_donner",
"gamemode": "Day of Defeat",
"version": "9540945",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1630825257,
"last_update": 1743996721,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 8,
"steam_id": 300,
"name": "Day of Defeat: Source",
"url": "day-of-defeat-source",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/464315");
$data = json_decode($json, true);
var_dump($data);