Rustafied.com - US Long - Small 的 API

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

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/1207608
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 236379,
    "world_seed": 1955434719,
    "world_size": 3750,
    "steam_id": "90284172904481793",
    "domain": null,
    "id": 1207608,
    "ip": "64.40.8.101",
    "port": 28015,
    "query": 28018,
    "color": 0,
    "city": "Dallas",
    "description": "![Rustafied.com - US Long - Small](https://cdn.rustafied.systems/v2/discord-panels/US%20Long%20-%20Small.png)\nMonthly BP + Map Wipe @ Force Wipe First Thursday @ 2PM EST / 19:00 London \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",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775194329,
    "score": null,
    "last_online": 1775885409,
    "icon": null,
    "name": "Rustafied.com - US Long - Small",
    "connect": "64.40.8.101:28015",
    "request": "64.40.8.101:28018",
    "map": "Rustafied Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 126,
    "maxplayers": 175,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 101,
    "add_date": 1691955784,
    "last_update": 1775885409,
    "banned": false,
    "wipe": 1775151265,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 147,
    "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/1207608");
$data = json_decode($json, true);
var_dump($data);