Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/447508
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 101087,
"world_seed": 1337,
"world_size": 3700,
"id": 447508,
"ip": "37.221.209.190",
"port": 28022,
"query": 28021,
"color": 0,
"description": "![RustPlace Romania Vanilla [FullWiped 7/08]](https://www.rustplace.ro/img/rpl.jpg)\nWelcome on RustPlace Romania Vanilla!\r\n\r\n Last Wipe: 7/08 (Map)\r\n Next Wipe: 21/08 (Map+BP)\r\n Map Size: ~4k\r\n Team UI: 8\r\n\r\n Language: RO/EN\r\nJoin our Discord for wipe and servers info:\r\nDiscord: https://discord.gg/TQApYSC\r\n\r\n Have fun!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1753939588,
"score": null,
"last_online": 1755692455,
"icon": null,
"name": "RustPlace Romania Vanilla [FullWiped 7/08]",
"connect": "37.221.209.190:28022",
"request": "37.221.209.190:28021",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2594",
"numplayers": 1,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "HU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1630779781,
"last_update": 1755692455,
"banned": false,
"wipe": 1754589131,
"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/447508");
$data = json_decode($json, true);
var_dump($data);