Magic Bust ДЛЯ НОВИЧКОВ 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10699262
json
{
  "response": {
    "fps": 66,
    "fps_avg": 64,
    "entities_count": 99850,
    "world_seed": 12135432,
    "world_size": 4000,
    "steam_id": "90284500328904723",
    "domain": null,
    "id": 10699262,
    "ip": "185.189.255.84",
    "port": 35600,
    "query": 35610,
    "color": 0,
    "city": "Moscow",
    "description": "![Magic Bust  ДЛЯ НОВИЧКОВ](https://pic.survivalhost.org/images/2019/04/07/712bc4d43d8fd5c68118d71d48125d26.png)\nСервер для комфортной игры!\r\nВайп один раз в месяц!!!!!!!!!!!!!\r\nЕсть Магазин с бесплатными ресурсами!\r\nПониженное содержание шкафа!\r\nПовышенные стаки!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776049310,
    "score": 5,
    "last_online": 1776379820,
    "icon": null,
    "name": "Magic Bust  ДЛЯ НОВИЧКОВ",
    "connect": "185.189.255.84:35600",
    "request": "185.189.255.84:35610",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1765122719,
    "last_update": 1776379820,
    "banned": false,
    "wipe": 1775186679,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2167,
    "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/10699262");
$data = json_decode($json, true);
var_dump($data);