Rust
API для [US] Banned For Life - Solo/Duo/Trio/Quad
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/756656json
{
"response": {
"fps": 105,
"fps_avg": 103,
"entities_count": 66242,
"world_seed": 599674064,
"world_size": 3500,
"steam_id": "90284558089164808",
"domain": null,
"id": 756656,
"ip": "64.42.177.215",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Seattle",
"description": "Welcome to Banned!!!\r\n We are a PvE server with QoL improvements like: \r\n Raidable Bases \r\n 5x resource and loot gathering \r\n Custom stack sizes \r\n Zombies \r\n Auto Base Upgrade \r\n Backpacks \r\n Boss Monster \r\n Chest Stacks \r\n Convoy \r\n Furnace Splitter \r\n No Decay \r\n Quick Smelt \r\n Sign Artist \r\n Purchasable vehicles \r\n Skill Tree \r\n Teleportication \r\n Vehicle License \r\n Virtual Quarries \r\n and many more \r\n Our hard-rules are simple. No Toxicity.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776423820,
"score": null,
"last_online": 1776505824,
"icon": null,
"name": "[US] Banned For Life - Solo/Duo/Trio/Quad",
"connect": "64.42.177.215:28015",
"request": "64.42.177.215:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1677864039,
"last_update": 1776505824,
"banned": false,
"wipe": 1775923080,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2930,
"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/756656");
$data = json_decode($json, true);
var_dump($data);