Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/216619
json
{
"response": {
"fps": 199,
"fps_avg": 199,
"entities_count": 148472,
"world_seed": 740277476,
"world_size": 5000,
"id": 216619,
"ip": "91.218.66.70",
"port": 28015,
"query": 28016,
"color": 0,
"description": "![[EU] The Hive - Last Survivor](https://filespace.vrm.li/GamersRust.png)\nWelcome to [EU]THE HIVE - LAST SURVIVOR \r\nMonthly First Thursday Full Wipe only on Force\r\n\r\nYou accept on click Connect following Server Rules:\r\n\r\n-No Racism/Toxic Behaviour\r\n-Language: English, German allowed\r\n\r\nThe detailed description of the server rules can be found on our Discord server. Click Visit website to be directed to the Discord server.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1754589343,
"score": null,
"last_online": 1755692153,
"icon": null,
"name": "[EU] The Hive - Last Survivor",
"connect": "91.218.66.70:28015",
"request": "91.218.66.70:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2594",
"numplayers": 2,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1582969560,
"last_update": 1755692153,
"banned": false,
"wipe": 1754589166,
"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/216619");
$data = json_decode($json, true);
var_dump($data);