[#01中国官方PVE]1000倍|死亡不掉|物资可跨服|自动 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11159687
json
{
  "response": {
    "fps": 228,
    "fps_avg": 222,
    "entities_count": 979,
    "world_seed": 1337,
    "world_size": 1000,
    "steam_id": "90282833695387655",
    "domain": null,
    "id": 11159687,
    "ip": "114.66.47.43",
    "port": 10001,
    "query": 11001,
    "color": 0,
    "city": "Beijing",
    "description": "![[#01中国官方PVE]1000倍|死亡不掉|物资可跨服|自动](http://m.qpic.cn/psc?/V52jOubP1YwYl802k2px3cxfjW12e9VD/MgefXoixntJCvPruFHdJTd0r*NELxeV8qOxYyPreBXw.*XdTvRrAgPvxpqTpYyZDruDmMmH*9VaO3X2PNNl95SM6y2W14pzg2v0fCXkmanY!/mnull&bo=9AE5AQAAAAADB.8!&rf=photolist&t=5)\n\r\n\r\n[中国PVE]1.扩展包跨服 \r\n[中国PVE]重启时间,每天早晨7:17;结束7:22 \r\n 如有问题请联系QQ群管理: 41599231  \r\n Email: [email protected]  \r\n Website: 68509.cn  \r\n祝大家玩的开心!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776334423,
    "score": 0,
    "last_online": 1776851424,
    "icon": null,
    "name": "[#01中国官方PVE]1000倍|死亡不掉|物资可跨服|自动",
    "connect": "114.66.47.43:10001",
    "request": "114.66.47.43:11001",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2621",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772228137,
    "last_update": 1776851424,
    "banned": false,
    "wipe": 1771264387,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4726,
    "language": "zh",
    "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/11159687");
$data = json_decode($json, true);
var_dump($data);