面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10699247
json
{
  "response": {
    "fps": 319,
    "fps_avg": 322,
    "entities_count": 73883,
    "world_seed": 121315421,
    "world_size": 3500,
    "steam_id": "90286604214087689",
    "domain": null,
    "id": 10699247,
    "ip": "185.189.255.202",
    "port": 35200,
    "query": 35210,
    "color": 0,
    "city": "Moscow",
    "description": "![RAGEGEN [X20/X50/X100|FAST|NOLIMIT|PVP|LOOT+|NOOB]](https://image.myrustserver.com/logo/Smazochka_68e91189e0250.png)\nДобро пожаловать на RageGen - сервер для быстрого развития и активного PVP. Мы не баним за скил!\r\n-Вайп воскресенье/четверг 11:00 по МСК\r\n-Кастомные места под застройку, фарм остров\r\n-Улучшенный лут с ящиков, бочек, ботов\r\n-Личный миникоптер по команде\r\n-Моментальный крафт\r\n-Турниры, кейсы\r\n\r\nWelcome to our server. We do not ban for force!\r\n-Wipe Sunday/Thursday 11:00 Moscow time\r\n-Custom building sites\r\n-Improved loot from crates, barrels, and bots\r\n-Personal minicopter on command\r\n-Instant crafting\r\n\r\n\r\n-DISCORD -https://discord.gg/MrwfVyXVMR\r\n-SHOP - https://ragegeneretion.gamestores.app/\r\n-TG - https://t.me/ragegenrust",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780430004,
    "last_online": 1780607430,
    "icon": null,
    "name": "RAGEGEN [X20/X50/X100|FAST|NOLIMIT|PVP|LOOT+|NOOB]",
    "connect": "185.189.255.202:35200",
    "request": "185.189.255.202:35210",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1765122718,
    "last_update": 1780607430,
    "banned": false,
    "wipe": 1780596626,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3864,
    "language": "ru",
    "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/10699247");
$data = json_decode($json, true);
var_dump($data);