Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/445822
json
{
"response": {
"fps": 45,
"fps_avg": 54,
"entities_count": 175780,
"world_seed": 575198260,
"world_size": 4500,
"id": 445822,
"ip": "64.42.177.214",
"port": 28241,
"query": 28244,
"color": 0,
"description": "\nWelcome to Enchantress' PvE. \r\nNew player friendly \r\nMany QoL plugins \r\nPvE Only \r\n\r\n Enjoy your stay!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1754804702,
"score": null,
"last_online": 1755502846,
"icon": null,
"name": "Enchantress' PvE",
"connect": "64.42.177.214:28241",
"request": "64.42.177.214:28244",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2594",
"numplayers": 2,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1630779733,
"last_update": 1755502846,
"banned": false,
"wipe": 1754594830,
"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/445822");
$data = json_decode($json, true);
var_dump($data);