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

text
https://api.gamemonitoring.in/servers/11502556
json
{
  "response": {
    "oxide": true,
    "modded": true,
    "fps": 79,
    "fps_avg": 79,
    "entities_count": 92360,
    "world_seed": 1249214007,
    "world_size": 3900,
    "steam_id": "90286576655089665",
    "domain": null,
    "id": 11502556,
    "ip": "103.91.210.249",
    "port": 18888,
    "query": 18891,
    "color": 0,
    "city": "Jinan",
    "description": "![『熊大』2倍|萌新|无权|6月4号新档|浴血奋战](https://pic1.imgdb.cn/item/6a1581807e05763db3ce283f.png)\n↗欢迎来到【熊大】服务器\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★限制组队四人\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★禁挂.办宏.禁卡石头.\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★轻松娱乐!\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n————————————————————————",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780537461,
    "last_online": 1780563817,
    "icon": null,
    "name": "『熊大』2倍|萌新|无权|6月4号新档|浴血奋战",
    "connect": "103.91.210.249:18888",
    "request": "103.91.210.249:18891",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 21,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 69,
    "add_date": 1779207204,
    "last_update": 1780563817,
    "banned": false,
    "wipe": 1779232935,
    "official": null,
    "wipe_period": "weekly",
    "next_wipe": 1779837735,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 476,
    "language": "zh",
    "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/11502556");
$data = json_decode($json, true);
var_dump($data);