Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6574776
json
{
"response": {
"id": 6574776,
"ip": "194.146.12.47",
"port": 31015,
"query": 31015,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 1203620,
"owner": null,
"boosts": 1,
"last_offline": 1736689074,
"score": 0,
"last_online": 1746493897,
"icon": null,
"name": "DarkWinkla´s World",
"connect": "194.146.12.47:31015",
"request": "194.146.12.47:31015",
"map": null,
"gamemode": "Enshrouded",
"version": "0.0.15.0",
"numplayers": 0,
"maxplayers": 5,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1731159297,
"last_update": 1746493897,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 1611384,
"steam_id": 1203620,
"name": "Enshrouded",
"url": "enshrouded",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/6574776");
$data = json_decode($json, true);
var_dump($data);