Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/444468
json
{
"response": {
"fps": 53,
"fps_avg": 52,
"entities_count": 90795,
"world_seed": 1881901946,
"world_size": 3700,
"id": 444468,
"ip": "51.89.222.250",
"port": 28056,
"query": 28055,
"color": 0,
"description": "\nThis easy going server is perfect for SOLO ONLY play - it is lightly modded to help players get started quicker and runs on fast dedicated hardware hosted in the UK.\n\n - Increased gather - 2x power source output\n - 1 hour demolish & rotate - No codelocks or keys\n - Fueled minicopters don't decay - Randomised Chinook drops\n - No buildable underground caves\n\nMaps are wiped first & third Thursday with a full blueprint wipe every two months.\n\nCheck the Discord for more information.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1754589943,
"score": null,
"last_online": 1755696637,
"icon": null,
"name": "Rust Solo Only / Lightly Modded / UK & Europe",
"connect": "51.89.222.250:28056",
"request": "51.89.222.250:28055",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2594",
"numplayers": 0,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1630779687,
"last_update": 1755696637,
"banned": false,
"wipe": 1754589812,
"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/444468");
$data = json_decode($json, true);
var_dump($data);