Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7467345
json
{
"response": {
"fps": 192,
"fps_avg": 189,
"entities_count": 88222,
"world_seed": 411008324,
"world_size": 3750,
"id": 7467345,
"ip": "79.137.98.21",
"port": 28015,
"query": 28016,
"color": 0,
"description": "![[EU] Facepunch Staging Primitive Small](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": 1752899147,
"score": 0,
"last_online": 1755504053,
"icon": null,
"name": "[EU] Facepunch Staging Primitive Small",
"connect": "79.137.98.21:28015",
"request": "79.137.98.21:28016",
"map": "Procedural Map",
"gamemode": "Primitive",
"version": "2595",
"numplayers": 4,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1739234753,
"last_update": 1755504053,
"banned": false,
"wipe": 1753955611,
"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/7467345");
$data = json_decode($json, true);
var_dump($data);