Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11502527
json
{
  "response": {
    "fps": 168,
    "fps_avg": 177,
    "entities_count": 87418,
    "world_seed": 1573,
    "world_size": 3500,
    "steam_id": "90286572139038723",
    "domain": null,
    "id": 11502527,
    "ip": "43.249.192.6",
    "port": 29025,
    "query": 29026,
    "color": 0,
    "city": "Jinan",
    "description": "![『芬达』100000倍/6.2/枪战/蓝图全解/萌新/建造](https://easy1-1320231105.cos.ap-shanghai.myqcloud.com/fm/fendafenmian.jpg)\n地图每周五重置一次,蓝图全解\r\n服务上万款皮肤免费使用\r\n\r\n     举报玩家:游戏内按F7举报 或者 加群私聊群主\r\n\r\n     QQ群:289797\r\n\r\n请务必遵守如下规则:\r\n-工具柜最多-人同时授权\r\n-密码锁最多-人同时授权\r\n-每个基地最多容纳-人\r\n-最多-人同时出行/抄家\r\n-更换队友时务必清除领地授权、炮塔授权、睡袋,并更改密码,否则一律按超员处置\r\n-在任何情况下都不允许其他队伍的玩家进入你的基地(被抄家除外)\r\n-禁止结盟\r\n-禁止任何形式的作弊,包括鼠标宏",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780521259,
    "last_online": 1780565620,
    "icon": null,
    "name": "『芬达』100000倍/6.2/枪战/蓝图全解/萌新/建造",
    "connect": "43.249.192.6:29025",
    "request": "43.249.192.6:29026",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 22,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1779207202,
    "last_update": 1780565620,
    "banned": false,
    "wipe": 1780013632,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 713,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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