CobaltRust.GG 2X |Solo/Duo/Trio| 50% Upkeep 的 API

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

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11189401
json
{
  "response": {
    "fps": 388,
    "fps_avg": 424,
    "entities_count": 118915,
    "world_seed": 307803502,
    "world_size": 4500,
    "steam_id": "90284220213654529",
    "domain": null,
    "id": 11189401,
    "ip": "92.118.19.58",
    "port": 28025,
    "query": 28026,
    "color": 0,
    "city": "Dallas",
    "description": "![CobaltRust.GG 2X |Solo/Duo/Trio| 50% Upkeep](https://imgur.com/ZhYxDPJ.png)\nCobaltRust.GG 2X |Solo/Duo/Trio| 50% Upkeep\n\nNO PAY TO WIN FEATURES\n\nGroup Limit: 3\n2x Gather\n2x Smelting speed\n2x Components and Scrap\nHalf time on Locked crates\nFaster Recycling\nExtra recyclers\nMinicopters spawn on roads.\n\nJunk items removed from Loot Table\n\nMap and Blueprint wipes every first Thursday of the month with FacePunch updates.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775901716,
    "score": 0,
    "last_online": 1775906418,
    "icon": null,
    "name": "CobaltRust.GG 2X |Solo/Duo/Trio| 50% Upkeep",
    "connect": "92.118.19.58:28025",
    "request": "92.118.19.58:28026",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772699051,
    "last_update": 1775906418,
    "banned": false,
    "wipe": 1775535254,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5208,
    "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/11189401");
$data = json_decode($json, true);
var_dump($data);