4/17 RustyRemains 3x SOLO/DUO/TRIO TP/KITS/BP+ Frontline 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11435478
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 112922,
    "world_seed": 524269807,
    "world_size": 4500,
    "steam_id": "90284744389663774",
    "domain": null,
    "id": 11435478,
    "ip": "81.172.145.221",
    "port": 28027,
    "query": 28025,
    "color": 0,
    "city": "Beesel",
    "description": "![4/17 RustyRemains 3x SOLO/DUO/TRIO TP/KITS/BP+ Frontline](https://zentostudios.net/createimage/headerimage.php?network=RustyRemains&line1=US-3X&line2=TRIO&id=756854635&steamid=0&name=NO_TOP_CLAN)\nWipes every Friday, 3 PM EST\n\n• 3x Gather Rate\n• Group Limit: 3\n• Active & Helpful Admins\n• Perfected Loot Tables\n• Unique Leaderboards & Rankings\n\nwww.FrontlineRust.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776786799,
    "score": 0,
    "last_online": 1776832222,
    "icon": null,
    "name": "4/17 RustyRemains 3x SOLO/DUO/TRIO TP/KITS/BP+ Frontline",
    "connect": "81.172.145.221:28027",
    "request": "81.172.145.221:28025",
    "map": "Frontline FPS+ Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774977191,
    "last_update": 1776832222,
    "banned": false,
    "wipe": 1776463227,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5252,
    "language": "nl",
    "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/11435478");
$data = json_decode($json, true);
var_dump($data);