[US] Rust in Peace - 2x Vanilla Fridays | Shared BPs | Max 8 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/760773
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 324095,
    "world_seed": 1337,
    "world_size": 4250,
    "steam_id": "90284221783760909",
    "domain": null,
    "id": 760773,
    "ip": "64.40.8.113",
    "port": 28014,
    "query": 28015,
    "color": 0,
    "city": "Dallas",
    "description": "![[US] Rust in Peace - 2x Vanilla Fridays | Shared BPs | Max 8](https://i.imgur.com/mg5ICKL.png)\nWelcome to Rust in Peace 2x Fridays - Friday Wipes - store.rustinpeace.co (Queue Skip)\r\nKey Features:\r\n- 2x Gather (2.5x Wood, Sulfur)\r\n- 5 Minute Nights\r\n- Shared BPs\r\n- 8 Max Group Size\r\n- Balanced Loot Tables (No Junk Items)\r\n- QoL Improvements (Doesn't effect gameplay)\r\n- FREE Skinbox & Other Features\r\n- Custom events (Cargo Plane, Convoy)\r\n\r\nActive staff (non-playing)\r\nRules listed in discord.gg/rustinpeace",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775194330,
    "score": null,
    "last_online": 1776096013,
    "icon": null,
    "name": "[US] Rust in Peace - 2x Vanilla Fridays | Shared BPs | Max 8",
    "connect": "64.40.8.113:28014",
    "request": "64.40.8.113:28015",
    "map": "Wiped 2 days ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 35,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 71,
    "add_date": 1680785141,
    "last_update": 1776096013,
    "banned": false,
    "wipe": 1775851064,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 771,
    "language": "en",
    "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/760773");
$data = json_decode($json, true);
var_dump($data);