Rust
API для [EU/CZ/SK] ZeddiHub | PVE | Beginners [NO RAID, LOOT++]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11259917json
{
"response": {
"fps": 13,
"fps_avg": 13,
"entities_count": 110683,
"world_seed": 735426332,
"world_size": 4250,
"steam_id": "90284798106753029",
"domain": null,
"id": 11259917,
"ip": "93.99.7.86",
"port": 28045,
"query": 28046,
"color": 0,
"city": "Bílovice nad Svitavou",
"description": "![[EU/CZ/SK] ZeddiHub | PVE | Beginners [NO RAID, LOOT++]](https://files.zeddihub.eu/rust/logo_jungle.png)\nCURRENTLY IN BETA - Your feedback shapes the server!\r\n\r\n● 3x Loot & Gather (Faster progress)\r\n● Pure PVE (No raiding, no killing)\r\n● Skill System & Levels (Upgrade your character)\r\n● Long Wipe Cycle (Map wipes every 3 months)\r\n● Economy & Shop\r\n● Kits & BGrade for easy building\r\n\r\nEVENTS:\r\n● PVP Zones & Events for the brave\r\n● NPC Bosses, Armored Train, Convoy and much more.. \r\n● Monument NPC and Bradley\r\n● Raidable Bases, Defendable Bases\r\n\r\nBASIC RULES:\r\nNO GRIEF (Griefing other's bases is forbidden)\r\n\r\nNO KILL (Killing players is forbidden)\r\n\r\nNO LOOT (Stealing from other's bodies/boxes is forbidden)\r\n\r\nAdmin team is active.\r\nFound a bug? Report it via: /feedback",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776834229,
"score": 0,
"last_online": 1776873022,
"icon": null,
"name": "[EU/CZ/SK] ZeddiHub | PVE | Beginners [NO RAID, LOOT++]",
"connect": "93.99.7.86:28045",
"request": "93.99.7.86:28046",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555183,
"last_update": 1776873022,
"banned": false,
"wipe": 1775156563,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4907,
"language": "cs",
"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/11259917");
$data = json_decode($json, true);
var_dump($data);