Squad supply Честный Rust| 2Х | No P2W | Вайп 27 [0 的 API

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

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10412608
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10412608,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Moscow",
    "description": "![НОВОСИБ  24.12](https://pic.survivalhost.org/images/2019/04/07/712bc4d43d8fd5c68118d71d48125d26.png)\nХостинг SurvivalHost\r\n Сайт хостинга - hostingrust.ru\r\n Игровые сервера с защитой от DDoS атак:\r\n > Rust\r\n > ARK\r\n > ATLAS\r\n > DayZ\r\n > Unturned\r\n > Conan Exiles\r\n > и другие...",
    "game": 252490,
    "owner": 157717,
    "boosts": 1,
    "last_offline": 1771221666,
    "score": 0,
    "last_online": 1770330012,
    "icon": null,
    "name": "Squad supply Честный Rust| 2Х | No P2W | Вайп 27 [0",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": null,
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1759823748,
    "last_update": 1771221666,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9603,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust",
      "popular_maps_available": false
    },
    "server_owner": {
      "username": "neyron47",
      "avatar": "fee26007-fc5c-463f-985a-3c9b4f02b731.jpg",
      "last_online": 1774332737
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10412608");
$data = json_decode($json, true);
var_dump($data);