Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8122184
json
{
"response": {
"fps": 198,
"fps_avg": 197,
"entities_count": 151947,
"world_seed": 75739292,
"world_size": 4500,
"id": 8122184,
"ip": "148.113.198.87",
"port": 28020,
"query": 28021,
"color": 0,
"description": "![[US West] Facepunch Premium 4](https://files.facepunch.com/Alistair/124/07/2025/9593/fpos.png)\nThis is an official server owned and operated by Facepunch.\r\n\r\nPeople are free to speak whatever language they like. Don't be surprised if you get banned for being abusive.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1754588743,
"score": 0,
"last_online": 1755503444,
"icon": null,
"name": "[US West] Facepunch Premium 4",
"connect": "148.113.198.87:28020",
"request": "148.113.198.87:28021",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2594",
"numplayers": 14,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1741879810,
"last_update": 1755503444,
"banned": false,
"wipe": 1754588970,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": 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/8122184");
$data = json_decode($json, true);
var_dump($data);