Grumpys 10x | My Mini | Homes+TP and More 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11101821
json
{
  "response": {
    "fps": 192,
    "fps_avg": 192,
    "entities_count": 114657,
    "world_seed": 438781481,
    "world_size": 4000,
    "steam_id": "90284724146837518",
    "domain": null,
    "id": 11101821,
    "ip": "37.27.129.30",
    "port": 60410,
    "query": 60412,
    "color": 0,
    "city": "Helsinki",
    "description": "![Grumpys 10x | My Mini | Homes+TP and More](https://www.dropbox.com/scl/fi/dfeshzia726pe5g8z90ca/Grumpys2_1.png?rlkey=ackxjja5br3rd8b9r0eqxx48w&st=jp63dgsl&dl=1)\nWelcome to Grumpys 10x! The ultimate high-rate experience for fast-paced PVP and Raiding.\r\n\r\nSERVER FEATURES: \r\n\r\n● 10x Gather Rate & Heavily Boosted Loot.\r\n● No Blueprints (Instant Progress).\r\n● MyMini: Spawn Minicopters with /mymini (No Fuel Needed). \r\n● Raidable Bases: NPC-Guarded Fortresses with Top-Tier Loot.\r\n● Quality of Life: Commands for a smoother experience.\r\n● Raid Alarms: via Rust+",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776659598,
    "score": 0,
    "last_online": 1776837021,
    "icon": null,
    "name": "Grumpys 10x | My Mini | Homes+TP and More",
    "connect": "37.27.129.30:60410",
    "request": "37.27.129.30:60412",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1770029800,
    "last_update": 1776837021,
    "banned": false,
    "wipe": 1775200279,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4447,
    "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/11101821");
$data = json_decode($json, true);
var_dump($data);