C4 YOU LATER | SkillTree 2x | Shared BPs | QOL++ 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 101509,
"world_seed": 639957878,
"world_size": 4000,
"steam_id": 90286588724344860,
"domain": null,
"id": 5941878,
"ip": "168.100.160.43",
"port": 28022,
"query": 28026,
"color": 0,
"city": "Ashburn",
"description": "\nStep into a Rust server built for both fun and fair play! C4 You Later is perfect for beginners and experienced players looking for a chill environment. With boosted progression and quality-of-life enhancements, it’s easier than ever to build, raid, and explore. Get ready to blow away the competition... Literally! \r\nSee you later... or should we say C4 You Later! \r\n ♦ 2× Pickup Rates | 2× Components & Scrap | 2× Gather (Unlockable) \r\n ♦ BP Team Sharing | Tier 1 BPs Unlocked & Electricals \r\n ♦ Automatic Auth Sharing | Tool Cupboards | Code Locks | AutoTurrets \r\n ♦ Custom LARGE Improved Loot Tables \r\n ♦ Increased Stack Sizes & Increased Workbench Radius \r\n ♦ Portal to Custom Killhouse Arena PVP \r\n ♦ Kits | Shop | Custom Modded Vehicles \r\n ♦ Skill Tree & Teleportation \r\n ♦ And So Much More!!!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779181972,
"last_online": 1780567831,
"icon": null,
"name": "C4 YOU LATER | SkillTree 2x | Shared BPs | QOL++",
"connect": "168.100.160.43:28022",
"request": "168.100.160.43:28026",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1726346794,
"last_update": 1780567831,
"banned": false,
"wipe": 1778783032,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2614,
"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.cn/servers/5941878");
$data = json_decode($json, true);
var_dump($data);