Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1397285
json
{
"response": {
"fps": 112,
"fps_avg": 113,
"entities_count": 87472,
"world_seed": 367222608,
"world_size": 4000,
"id": 1397285,
"ip": "90.68.206.60",
"port": 28015,
"query": 28016,
"color": 0,
"description": "Welcome to SoftNet! \r\nYour new server of preference for EU West, and anywhere in the world where the ping allows for it. \r\nPlayers located close to the EUW area should enjoy a latency of around 50ms or less \r\nIf you live farther though, our special network-level frame capture ping correction system will keep the server playable even if you have a latency of up to 200ms, making it feel like if it was 75-125ms instead. \r\nWipes will happen when forced by an update, which usually happens the first Thursday of every month.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1755623826,
"score": null,
"last_online": 1755694236,
"icon": null,
"name": "SoftNet",
"connect": "90.68.206.60:28015",
"request": "90.68.206.60:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2594",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "ES",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1696081325,
"last_update": 1755694236,
"banned": false,
"wipe": 1754638173,
"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/1397285");
$data = json_decode($json, true);
var_dump($data);