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

text
https://api.gamemonitoring.in/servers/11261098
json
{
  "response": {
    "fps": 46,
    "fps_avg": 48,
    "entities_count": 134148,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286492736896017",
    "domain": null,
    "id": 11261098,
    "ip": "45.125.44.27",
    "port": 28018,
    "query": 28019,
    "color": 0,
    "city": "Jinan",
    "description": "![可爱-1000倍PVE-不掉-突袭-养殖-僵尸-无限耐久](http://m.qpic.cn/psc?/V54bXpl30nyTZb46WYtf0n5eDo1pRoHW/6tCTPh7N*X6CBkvkDvKlZUznq1SGY*EqXcjtWr3WJxayjeHVNi5wEfmt*KZrFCMYPtmh*UdI*pv7wAlWKwqeA80a5qSq4vtAWf4YufllqU0!/b&bo=WgPPAVoDzwEBByA!&rf=viewer_4)\n死亡不掉-2种大背包不清-免费礼包-非队友无法掠夺-据点突袭-防守突袭\r\n守护将军-空间站-僵尸飞艇-僵尸场地-火车车队-武器强化-养老生存 \r\n\\t 新手服-萌新服-养老服-大地图-玩家之间无伤害-有pvp娱乐专用区域 \r\n\\t /kit礼包系统\r\n\\tQQ群:369166665  \\t 进群查看领取免费礼包指令\r\n\\tYy频道:35013\\t喊服主上黄马\\t\r\n\\t开服时间:2020年冬天-至今-永不关服\r\n  /pf大量付费皮肤免费使用 \r\n\\t 免费权限:-蓝图全解-无限耐久-秒造\r\n\\t 养各种动物,种植,休闲,游乐设施:旋转木马,摩天轮,愤怒公牛……",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780567468,
    "last_online": 1780584036,
    "icon": null,
    "name": "可爱-1000倍PVE-不掉-突袭-养殖-僵尸-无限耐久",
    "connect": "45.125.44.27:28018",
    "request": "45.125.44.27:28019",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774555219,
    "last_update": 1780584036,
    "banned": false,
    "wipe": 1779403512,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4494,
    "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/11261098");
$data = json_decode($json, true);
var_dump($data);