DidiplayRust PVE x2 Wiped04/06 Raids/events/Skills/dungeons 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286949275196422",
"domain": null,
"id": 10948321,
"ip": "202.36.95.64",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "Friendly communiy! This server is supposed to challenge you! It wont be easy! But the rewards are great! Skilltree raidbases evente dungeons patrolhelis special gear and many more qol plugins!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780599868,
"last_online": 1781336427,
"icon": null,
"name": "DidiplayRust PVE x2 Wiped04/06 Raids/events/Skills/dungeons",
"connect": "202.36.95.64:28015",
"request": "202.36.95.64:28016",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2627",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768511255,
"last_update": 1781336427,
"banned": false,
"wipe": 1780600256,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4115,
"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/10948321");
$data = json_decode($json, true);
var_dump($data);