Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8410592
json
{
"response": {
"fps": 219,
"fps_avg": 219,
"world_seed": 1,
"world_size": 2500,
"entities_count": 27195,
"id": 8410592,
"ip": "159.112.138.140",
"port": 28123,
"query": 28123,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "\nServidor Rust en Chile, enfocado en ofrecer una experiencia fresca y justa para todos. Reglas: No homofobia No discriminación No favoritismo a clanes aliados Configuración del servidor: Wipes mensuales Moderación diaria En construcción; próximamente sitio web oficial",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1743835200,
"score": 0,
"last_online": 1744422662,
"icon": null,
"name": "RUSTOPIA.CL | SOLO - DUO | WIPE MENSUAL",
"connect": "159.112.138.140:28123",
"request": "159.112.138.140:28123",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2585",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "CL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1743835200,
"last_update": 1744422662,
"banned": false,
"wipe": 1743719339,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8410592");
$data = json_decode($json, true);
var_dump($data);