API для Tactical Tea Time - PvE
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 220,
"fps_avg": 162,
"entities_count": 93511,
"world_seed": 1309209684,
"world_size": 4500,
"steam_id": "90286620242070546",
"domain": null,
"id": 5387845,
"ip": "145.40.185.11",
"port": 28015,
"query": 28014,
"color": 0,
"city": "Southampton",
"description": "\nWelcome to Tactical Tea Time, the PvE server where survival challenges blend seamlessly with quirky camaraderie.\r\nPrepare to fortify, fight, and forge alliances amidst the unpredictable wilderness of Rust. Join us to strategize and survive, and maybe even relax a little between the battles. \r\n\r\nSee our Discord for full rules, info and to join our community.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780635858,
"last_online": 1780636234,
"icon": null,
"name": "Tactical Tea Time - PvE",
"connect": "145.40.185.11:28015",
"request": "145.40.185.11:28014",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1722420265,
"last_update": 1780636234,
"banned": false,
"wipe": 1780595413,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2741,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/5387845");
$data = json_decode($json, true);
var_dump($data);