Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8201369
json
{
"response": {
"id": 8201369,
"ip": "83.131.235.252",
"port": 31079,
"query": 31079,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 300,
"owner": null,
"boosts": 1,
"last_offline": 1744325166,
"score": 0,
"last_online": 1742435015,
"icon": null,
"name": "No rules 1#9 | Day of Defeat | Public",
"connect": "83.131.235.252:31079",
"request": "83.131.235.252:31079",
"map": "dod_sturm",
"gamemode": "Day of Defeat",
"version": null,
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": false,
"private": false,
"country": "HR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1742392270,
"last_update": 1744325166,
"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/8201369");
$data = json_decode($json, true);
var_dump($data);