BATTLEFIELD x1000000 | BILLION | MILLION | ПАЛЯНИЦЯ 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/823743
json
{
  "response": {
    "modded": true,
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 104571,
    "world_seed": 190157431,
    "world_size": 2800,
    "steam_id": "90285193348813838",
    "domain": null,
    "id": 823743,
    "ip": "194.247.12.239",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Kyiv",
    "description": "![BATTLEFIELD x1000000 | BILLION | MILLION | ПАЛЯНИЦЯ](https://i.ibb.co/3mn7ZB4C/bil.jpg)\nThe Best x1000000 FUN Server Ever!\r\n\r\nWipe every TWO DAYS\r\n- Kits for all\r\n- Loadouts\r\n- x1000000 gathering\r\n- x1000000 components\r\n- x1000000 smelting\r\n\r\nВайп кожні два дні о 2:00\r\n-Кіти для всіх\r\n- Спордження для всіх\r\n- х1000000 збирання\r\n- х1000000 компоненти\r\n- х1000000 плавління",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775530322,
    "score": null,
    "last_online": 1777660814,
    "icon": null,
    "name": "BATTLEFIELD x1000000 | BILLION | MILLION | ПАЛЯНИЦЯ",
    "connect": "194.247.12.239:28015",
    "request": "194.247.12.239:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 156,
    "maxplayers": 220,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "UA",
    "status": true,
    "votes": 0,
    "points": 97,
    "add_date": 1684406833,
    "last_update": 1777660814,
    "banned": false,
    "wipe": 1777344492,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 290,
    "language": "uk",
    "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/823743");
$data = json_decode($json, true);
var_dump($data);