面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11502063
json
{
  "response": {
    "fps": 151,
    "fps_avg": 149,
    "entities_count": 58381,
    "world_seed": 748521353,
    "world_size": 3500,
    "steam_id": "90286482847221762",
    "domain": null,
    "id": 11502063,
    "ip": "156.233.71.197",
    "port": 27015,
    "query": 27017,
    "color": 0,
    "city": "Istanbul",
    "description": "![[TR/EU] TOROS - Solo/Duo/Trio 01.06 13:30 torosclan.com](https://torosclan.com/maps/rust-server.jpg)\nToros Clan | Group Limit: 4 | 50% Upkeep\r\n\r\nWIPE SCHEDULE\r\n• Map Wipe: Weekly (Haftalık)\r\n• BP Wipe: Monthly (Aylık)\r\n• Map Size: 3500\r\n\r\nSERVER INFO\r\n• Group Limit: 4 (Max 4 Kişi)\r\n• Upkeep: 50% Reduced (Daha Az Bakım)\r\n• Buy SkipQueue & Packs: torosclan.com\r\n• Active Non-playing Admins\r\n\r\nSERVER RULES\r\n1. Max 4 authorizations on TC, code locks, and turrets.\r\n2. Max 4 players can roam, raid, or live together.\r\n3. No Alliances / No Teaming outside your group.\r\n4. No teammate swaps allowed during the wipe.\r\n5. No slavery, hotels, or sharing bases with others.\r\n6. No cheating, exploiting, or bug abuse.\r\n7. No racism, harassment, or toxic behavior.\r\n\r\nTC, kilit ve taret yetkisi max 4 tür.\r\nİttifak ve teaming yasaktır.\r\nWipe ortasında ekip arkadaşı değiştirmek yasaktır.\r\nKüfür, ırkçılık ve hile kesinlikle yasaktır.\r\n\r\nDiscord: discord.gg/toroscs\r\nWebsite: torosclan.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780557812,
    "last_online": 1780324402,
    "icon": null,
    "name": "[TR/EU] TOROS - Solo/Duo/Trio 01.06 13:30 torosclan.com",
    "connect": "156.233.71.197:27015",
    "request": "156.233.71.197:27017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "TR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207188,
    "last_update": 1780557812,
    "banned": false,
    "wipe": 1780305319,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11434,
    "language": "tr",
    "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/11502063");
$data = json_decode($json, true);
var_dump($data);