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

text
https://api.gamemonitoring.in/servers/11510900
json
{
  "response": {
    "fps": 240,
    "fps_avg": 239,
    "entities_count": 99107,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90286540419815447",
    "domain": null,
    "id": 11510900,
    "ip": "31.47.238.4",
    "port": 29015,
    "query": 29017,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![[HUN/EU] R.A.R.A PVP](https://webhost.wwwrust.org/images/R.A.R.A_PvP500x256.png)\nÜdvözlünk a szerveren! \r\n \r\n Vanilla közeli PvP Rust szerver \r\n Max. csapatlétszám: 4 fő \r\n \r\n Offline Raid Protection működik, \r\n de bizonyos feltételekhez kötött. \r\n \r\n Discord csatlakozás: \r\n External Website / Külső weboldal gomb \r\n \r\n Wipe: \r\n Minden hónap első csütörtökén 20:00-kor EU idő szerint \r\n \r\n Napi restart: \r\n Minden reggel 05:00-kor \r\n \r\n Beállítások: \r\n Decay: vanilla \r\n Loot: vanilla \r\n Pay-to-win: nincs \r\n Admin abuse: nincs \r\n \r\n Az admin nem játszik a szerveren. \r\n Nem adunk előnyt senkinek. \r\n \r\n Célunk egy tiszta, igazságos és kihívásokkal teli PvP élmény.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780590205,
    "last_online": 1780504233,
    "icon": null,
    "name": "R.A.R.A Staging",
    "connect": "31.47.238.4:29015",
    "request": "31.47.238.4:29017",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 60,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779353835,
    "last_update": 1780590205,
    "banned": false,
    "wipe": 1780241434,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11620,
    "language": "de",
    "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/11510900");
$data = json_decode($json, true);
var_dump($data);