Deka Norway | Solo/Duo/Trio 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/3703042
json
{
  "response": {
    "fps": 50,
    "fps_avg": 50,
    "entities_count": 48171,
    "world_seed": 403264604,
    "world_size": 3000,
    "steam_id": "90284858709982239",
    "domain": null,
    "id": 3703042,
    "ip": "80.203.12.113",
    "port": 28017,
    "query": 28015,
    "color": 0,
    "city": "Kleppe",
    "description": "Welcome! Vanilla, Increased gather rate, Rust Plus is activated. Weekly wipe (thursdays), monthly BP-wipe (first thursday every month).\r\n\r\nPlease respect each other and contribute to the server ideal (and rules) which implies following the group limit (max 3), stay noob friendly and limit griefing.\r\n\r\nThe following rules apply:\r\n- No racism\r\n- No cheating/scripting/exploiting\r\n- No roaming, raiding or engaging in any PVP with 3+\r\n- No roaming with a player outside your team\r\n- No more than 3 players authenticated in base at any time\r\n- VPN/Proxy is not allowed\r\n- VAC/Gameban < 365 days = permaban\r\n\r\nDiscord - https://discord.gg/DSRmbcNw65",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776351223,
    "score": 0,
    "last_online": 1776981619,
    "icon": null,
    "name": "Deka Norway | Solo/Duo/Trio",
    "connect": "80.203.12.113:28017",
    "request": "80.203.12.113:28015",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 4,
    "maxplayers": 250,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NO",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1712234054,
    "last_update": 1776981619,
    "banned": false,
    "wipe": 1776956447,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1940,
    "language": "no",
    "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/3703042");
$data = json_decode($json, true);
var_dump($data);