प्रोग्राम, वेबसाइट और अन्य के लिए JSON

text
https://api.gamemonitoring.in/servers/11645240
json
{
  "response": {
    "fps": 245,
    "fps_avg": 243,
    "entities_count": 62786,
    "world_seed": 1209228262,
    "world_size": 3500,
    "steam_id": "90286618258256920",
    "domain": null,
    "id": 11645240,
    "ip": "157.85.88.86",
    "port": 24139,
    "query": 24140,
    "color": 0,
    "city": "Tokyo",
    "description": "![[JP/ASIA] Tatami たたみ for Noob (Solo/Duo/Trio)](https://www.dropbox.com/scl/fi/73m2co6ztoakzwc0jvabd/Mainimage.png?rlkey=0md67y3db2t37gvgkhsr36444&st=332c1nch&dl=1)\nGroup limit: 3 /  Map - Biweekly\r\nBPs - Monthly @ FacePunch Update\r\n\r\nRules:\r\nチート・スクリプト使用禁止 (No hacking / scripting)\r\n意図的なバグ悪用の禁止 (No intentional bug abuse)\r\nEAC/FPBANされたサブアカウントの禁止 (No EAC / FP banned alts)\r\nBAN回避行為の禁止 (No ban evading)\r\n人種差別発言・行為の禁止 (No racism)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780628056,
    "last_online": 1780649426,
    "icon": null,
    "name": "[JP/ASIA] Tatami たたみ for Noob (Solo/Duo/Trio)",
    "connect": "157.85.88.86:24139",
    "request": "157.85.88.86:24140",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 14,
    "maxplayers": 125,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "JP",
    "status": true,
    "votes": 0,
    "points": 64,
    "add_date": 1780177456,
    "last_update": 1780649426,
    "banned": false,
    "wipe": 1780628358,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1084,
    "language": "ja",
    "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.in/servers/11645240");
$data = json_decode($json, true);
var_dump($data);