Rust
CZ/EU Farming Hell 5X PVE 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10764168json
{
"response": {
"fps": 81,
"fps_avg": 78,
"entities_count": 141543,
"world_seed": 78886305,
"world_size": 4500,
"steam_id": "90284792913534977",
"domain": null,
"id": 10764168,
"ip": "185.180.2.45",
"port": 28486,
"query": 27486,
"color": 0,
"city": "Prague",
"description": "\nEvents & Bosses\r\nAirfield Event, Arctic Base Event, Cargo Convoy, Convoy, Ferry Terminal Event, Gas Station Event, Harbor Event, Launch Site Helipad Event, Power Plant Event, Supermarket Event, Train Yard Event, Water Event, Boss Monster, Dungeon Bases, Operation Fortress, Raidable Bases, Abandoned Bases\r\n\r\nVehicles & Combat\r\nArmored Train, Road Bradley, Bradley Drops, Bradley Tiers, JetPack, Vehicle Licence, Spawn Modular Car, Night Zombies, Zombie Hunter\r\n\r\nEconomy & Trading\r\nEconomics, Bank System, RustRewards, DailyRewards, Battlepass, Trade, Home Marketplace, Personal Marketplace, Virtual Quarries\r\n\r\nItems & Progression\r\nItem Perks + Legendary Items, Customizable Weapons, Customizable Protection, Custom Magazine, Skill Tree, Skills, Player Challenges, PlayerRanks, StatsController, XDQuest, LootTable, Custom Item Definitions\r\n\r\nFarming & QoL\r\nAutoFarm, Backpacks, BGrade, Furnace Upgrades, Indoor Furnace, RecyclerBox, PersonalRecycler, Helpful Supply, EasyAirdrop, InstantAirdrop, NightVision, HeadLight, TalkingNpc, TalkingNpcVehicles, Ganja\r\n\r\nCustom Legendary Weapon + armor 1.5Protect Weapon 2x DMG legendary Lightsaber",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775001131,
"score": 0,
"last_online": 1776880820,
"icon": null,
"name": "CZ/EU Farming Hell 5X PVE",
"connect": "185.180.2.45:28486",
"request": "185.180.2.45:27486",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1766261027,
"last_update": 1776880820,
"banned": false,
"wipe": 1775159908,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2452,
"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.cn/servers/10764168");
$data = json_decode($json, true);
var_dump($data);