WARBANDITS.GG EU 2X Weekly |Solo/Duo|Shared BPs| Just Wiped 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10815454
json
{
  "response": {
    "modded": true,
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 98152,
    "world_seed": 767118386,
    "world_size": 3700,
    "steam_id": "90284740680235038",
    "domain": null,
    "id": 10815454,
    "ip": "185.29.166.131",
    "port": 28010,
    "query": 28015,
    "color": 0,
    "city": "Amsterdam",
    "description": "![WARBANDITS.GG EU 2X Weekly |Solo/Duo|Shared BPs| Just Wiped](https://cdn.warbandits.gg/banners/eu2xweeklyduo.jpg)\nWelcome to WarBandits.gg 2x Duo Weekly! \r\n - 2x Gather Rates \r\n - 2x Crafting Speed \r\n - 2x Components and Scrap \r\n - Recyclers at additional monuments \r\n - Custom High Performance Maps \r\n - Extended Workbench range  \r\n - Long Days & Short Nights \r\n - Group Limit: 2 \r\n - Active Staff \r\n - Fast Smelt",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773545565,
    "score": 0,
    "last_online": 1776823816,
    "icon": null,
    "name": "WARBANDITS.GG EU 2X Weekly |Solo/Duo|Shared BPs| Just Wiped",
    "connect": "185.29.166.131:28010",
    "request": "185.29.166.131:28015",
    "map": "Wiped 12 Hours ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 7,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1767109904,
    "last_update": 1776823816,
    "banned": false,
    "wipe": 1776779859,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1160,
    "language": "nl",
    "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/10815454");
$data = json_decode($json, true);
var_dump($data);