Your Mom's Rust | PvP | x2 | Monthly | EU 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 124,
"fps_avg": 124,
"entities_count": 110832,
"world_seed": 1510982177,
"world_size": 4250,
"steam_id": 90286740015456260,
"domain": null,
"id": 11004729,
"ip": "202.36.95.158",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "\nWelcome to Your Mom’s Rust | PvP x2 Monthly EU • Monthly wipe • x2 gather, balanced gameplay • No team limit Custom Events: • Convoy • Harbor Event • Raid Bases (NPCs raid your base) Features: • Active admin team • Regular giveaways (skins, DLC & cash rewards) • Optimized performance & smooth gameplay Join us and enjoy a competitive but fair Rust experience.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779339777,
"last_online": 1780918829,
"icon": null,
"name": "Your Mom's Rust | PvP | x2 | Monthly | EU",
"connect": "202.36.95.158:28015",
"request": "202.36.95.158:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 3,
"maxplayers": 90,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1769938970,
"last_update": 1780918829,
"banned": false,
"wipe": 1780596009,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1985,
"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.cn/servers/11004729");
$data = json_decode($json, true);
var_dump($data);