API для RustGalaxy Nexus Vienna
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 26,
"fps_avg": 24,
"entities_count": 97964,
"world_seed": 1337,
"world_size": 4250,
"steam_id": "90286603563228169",
"domain": null,
"id": 9526787,
"ip": "185.175.58.115",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Vienna",
"description": "\nRustGalaxy: The Original Nexus Network! Dial any of our 17 global servers via the Outpost telephone and seamlessly transfer with your inventory. Facepunch promised it, we delivered. No lag, no cheaters. Just pure survival across continents.\r\n\r\nMonthly map and blueprint wipes.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780597236,
"icon": null,
"name": "RustGalaxy Nexus Vienna",
"connect": "185.175.58.115:28015",
"request": "185.175.58.115:28017",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 3,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AT",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1750537841,
"last_update": 1780597236,
"banned": false,
"wipe": 1780594878,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2486,
"language": "de",
"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/9526787");
$data = json_decode($json, true);
var_dump($data);