Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/445223
json
{
"response": {
"fps": 55,
"fps_avg": 54,
"entities_count": 112761,
"world_seed": 115,
"world_size": 4500,
"id": 445223,
"ip": "64.40.8.57",
"port": 28189,
"query": 28186,
"color": 0,
"description": "\nWelcome to our Server\r\nThank you for playing.\r\nServer Rules: \r\nNo Traps or trap bases near roads or monuments.\r\nNo grifing players or bases.\r\nNo use of foul or obscene language.\r\nNo abuse of plugins.\r\nNo KOS\r\nLimit raids to 4 per 24 hours.\r\nBe kind to one another.\r\n\r\nPlug-Ins:\r\n100X gather rates\r\nPlane Crash.\r\nBetter Loot.\r\nHome.\r\nMyMini\r\nRemove.\r\nPersonal Recycler (/rec).\r\nVoteday \r\nBoxes Stack by using right Click.\r\nZombie Horde",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1754594155,
"score": null,
"last_online": 1755699030,
"icon": null,
"name": "Rusted Through 100X + Better Loot",
"connect": "64.40.8.57:28189",
"request": "64.40.8.57:28186",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2594",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1630779714,
"last_update": 1755699030,
"banned": false,
"wipe": 1754597977,
"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/445223");
$data = json_decode($json, true);
var_dump($data);