Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/217521
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 7662,
"world_seed": 1337,
"world_size": 5500,
"id": 217521,
"ip": "139.99.161.27",
"port": 28010,
"query": 28015,
"color": 0,
"description": "![[AU] Rustoria.co - RTG (UKN) Combat Arenas | AimTrain | Targets](https://i.imgur.com/OyHgD8d.png)\nWelcome to (RTG) – Rustoria Training Grounds\r\n\r\nWe offer a multitude of training tools for the very best players of Rust.\r\n\r\nExpect to see many gamemodes on this server tailored for training players and having fun with your friends outside of a Rust wipe.\r\n\r\n-\\t FFA AK\r\n-\\t Arena (Clan v Clan / Modular Settings / Score Keeping / Side Switching etc)\r\n-\\t Recoil Training\r\n-\\t Aim Train\r\n-\\t Aim Booster\r\n-\\t Gun Game\r\n-\\t FFA with cycling gun variants\r\n-\\t Party System\r\n\r\nPlus, many more features that we invite you to see for yourselves!\r\nDiscord: rustoria.co/discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1753182032,
"score": null,
"last_online": 1755503447,
"icon": null,
"name": "[AU] Rustoria.co - RTG (UKN) Combat Arenas | AimTrain | Targets",
"connect": "139.99.161.27:28010",
"request": "139.99.161.27:28015",
"map": "MiniBattleArenas-UKNTrainingMod",
"gamemode": "Survival",
"version": "2594",
"numplayers": 4,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1582969558,
"last_update": 1755503447,
"banned": false,
"wipe": 1755471769,
"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/217521");
$data = json_decode($json, true);
var_dump($data);