Rustafied.com - EU Medium - Large 的 API

我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/1206409
json
{
  "response": {
    "fps": 40,
    "fps_avg": 39,
    "entities_count": 209574,
    "world_seed": 260514719,
    "world_size": 4500,
    "steam_id": "90284210962494488",
    "domain": null,
    "id": 1206409,
    "ip": "195.60.166.148",
    "port": 28015,
    "query": 28018,
    "color": 0,
    "city": "City of London",
    "description": "![Rustafied.com - EU Medium - Large](https://cdn.rustafied.systems/v2/discord-panels/EU%20Medium%20Large.png)\nBiweekly map wipe @ 15:00 London Time (unless forced wipe) \r\n\r\n - Player portal: https://my.rustafied.com (server info, map voting, banlist, and more) \r\n - Store: https://rustafied.com/store \r\n - Support: https://rustafied.com/support \r\n - Discord: https://discord.gg/rustafied \r\n\r\n Forced wipe: First Friday @ 6AM AEDT/AEST (wipes all blueprints)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775690523,
    "score": null,
    "last_online": 1775891412,
    "icon": null,
    "name": "Rustafied.com - EU Medium - Large",
    "connect": "195.60.166.148:28015",
    "request": "195.60.166.148:28018",
    "map": "Rustafied Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 25,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 72,
    "add_date": 1691955298,
    "last_update": 1775891412,
    "banned": false,
    "wipe": 1775151224,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 668,
    "language": "en",
    "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/1206409");
$data = json_decode($json, true);
var_dump($data);