API dla 『白云PVE』 原倍 | 突袭 | 事件 | 萌新 | 养老
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 104,
"fps_avg": 103,
"entities_count": 165032,
"world_seed": 201110278,
"world_size": 4500,
"steam_id": "90286571110027288",
"domain": null,
"id": 11502664,
"ip": "144.52.178.164",
"port": 10086,
"query": 10085,
"color": 0,
"city": "Jinan",
"description": "\n本服白云PVE 欢迎加入游玩!\r\n\r\n▷服务器玩法◁\r\n可召唤突袭基地 | 可召唤武装直升机 | 可开启守护家园 |\r\n车队事件 | 火车事件 | 港口事件 | 机场事件 | 太空站事件 |\r\n雷达事件 | 大油事件 | 防御基地事件 | 极地科研中心事件 |\r\n\r\n▷服务器内容◁\r\n玩家之间无伤害 | 死亡不掉落物品 | 物品五倍叠加 | 原倍资源 | 额外大背包 | 技能系统 |\r\n快捷菜单 | 物品商城 | 物品皮肤 | 喷气背包 | 一键升级 | 一键修复 | 画板贴图 | 音乐自定义 |\r\n\r\n企鹅QQ群: 1079803839",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780390472,
"last_online": 1780600839,
"icon": null,
"name": "『白云PVE』 原倍 | 突袭 | 事件 | 萌新 | 养老",
"connect": "144.52.178.164:10086",
"request": "144.52.178.164:10085",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207209,
"last_update": 1780600839,
"banned": false,
"wipe": 1779408315,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2626,
"language": "zh",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11502664");
$data = json_decode($json, true);
var_dump($data);