Raidgents 3X | Solo/Duo/Trio | NOOB FRIENDLY | Monthly | EU 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 174,
"fps_avg": 163,
"entities_count": 87695,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90286576236665875",
"domain": null,
"id": 10714428,
"ip": "45.43.163.77",
"port": 28019,
"query": 28020,
"color": 0,
"city": "Paris",
"description": "\nWelcome to Raidgents!\r\n A friendly but competitive Rust experience.\r\n • 3X Gather & Faster Crafting\r\n • Solo/Duo/Trio Teams Allowed\r\n • Raidable Bases\r\n • Active and Helpful Admins\r\n • No Toxicity / No Cheaters\r\n • Monthly Wipe Schedule\r\n Have fun and enjoy your stay!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780626256,
"last_online": 1780620627,
"icon": null,
"name": "Raidgents 3X | Solo/Duo/Trio | NOOB FRIENDLY | Monthly | EU",
"connect": "45.43.163.77:28019",
"request": "45.43.163.77:28020",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1765132156,
"last_update": 1780626256,
"banned": false,
"wipe": 1780332453,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10019,
"language": "fr",
"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/10714428");
$data = json_decode($json, true);
var_dump($data);