Dracon Rust SURVIVAL | Hardcore | Wiped: 8/5 | 5 days ago 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9972280
json
{
  "response": {
    "fps": 121,
    "fps_avg": 121,
    "entities_count": 71168,
    "world_seed": 0,
    "world_size": 3500,
    "steam_id": "90285591387768842",
    "domain": null,
    "id": 9972280,
    "ip": "65.109.83.172",
    "port": 28215,
    "query": 28217,
    "color": 0,
    "city": "Helsinki",
    "description": "![Dracon Rust SURVIVAL | Hardcore | Wiped: 8/5 | 5 days ago](https://i.ibb.co/KjymdJCk/Rust-header-image-Dracon.jpg)\nDracon Rust SURVIVAL is a Noob-friendly, Small-map, vanilla Hardcore PVP server for everyone.\nIf you are looking for a chill and traditional Rust experience but without toxicity, you've come to the right place!\nServer BP-wipes on Force and Map-wipes biweekly; The last wipe was on Friday 8/5 at 18:00 CET. The next wipe will be on Friday 22/5 at 18:00 CET (bi-weekly wipe schedule) (BP wiped Friday 8/5 at 18:00 CET).\nJoin us on Discord! Use the 'View webpage' button or browse to: discord.gg/NPvF26NXRC\n‣ Hardcore game-mode, try to survive!\n‣ You can now chat gobal again in Hardcore\n‣ We've added Discord chat integration\n\nSERVER RULES:\n- No griefing\n- No toxicity (voice, chat, recordings or signs)\n- No cheating or hacking\n- No VAC bans less than 6 months old\n- No Stream Sniping\n- Please use English in global chat",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778410983,
    "score": 0,
    "last_online": 1778649620,
    "icon": null,
    "name": "Dracon Rust SURVIVAL | Hardcore | Wiped: 8/5 | 5 days ago",
    "connect": "65.109.83.172:28215",
    "request": "65.109.83.172:28217",
    "map": "Procedural Map",
    "gamemode": "Hardcore",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1754855408,
    "last_update": 1778649620,
    "banned": false,
    "wipe": 1778199698,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3228,
    "language": "fi",
    "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/9972280");
$data = json_decode($json, true);
var_dump($data);