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

text
https://api.gamemonitoring.in/servers/11606953
json
{
  "response": {
    "oxide": true,
    "modded": true,
    "steam_id": "90286576649966594",
    "domain": null,
    "id": 11606953,
    "ip": "103.91.211.127",
    "port": 20001,
    "query": 20004,
    "color": 0,
    "city": "Jinan",
    "description": "![[守护]1000倍/6.4新档/全解秒造/传送/萌新](https://pic1.imgdb.cn/item/64aa4e2d1ddac507cce91b11.jpg)\n☆。【守护】玩家交流QQ群:234055789\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\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\n☆。【守护】欢迎赞助,购买,举报请加QQ37699220\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\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\n———————————————————",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780567467,
    "last_online": 1780578028,
    "icon": null,
    "name": "[守护]1000倍/6.4新档/全解秒造/传送/萌新",
    "connect": "103.91.211.127:20001",
    "request": "103.91.211.127:20004",
    "map": "Procedural Map",
    "gamemode": "Rust",
    "version": "2625",
    "numplayers": 20,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 69,
    "add_date": 1779915489,
    "last_update": 1780578028,
    "banned": false,
    "wipe": 1779233070,
    "official": null,
    "wipe_period": "monthly",
    "next_wipe": 1781825070,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 547,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 252490,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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