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

text
https://api.gamemonitoring.in/servers/10598176
json
{
  "response": {
    "steam_id": "90284639019299859",
    "domain": null,
    "id": 10598176,
    "ip": "146.59.52.110",
    "port": 12003,
    "query": 13003,
    "color": 0,
    "city": "Warsaw",
    "description": null,
    "game": 393420,
    "owner": null,
    "boosts": 1,
    "last_offline": 1772907736,
    "score": 0,
    "last_online": 1776583877,
    "icon": null,
    "name": "[v1][x1/NoTP/classic] s3 HW69.pl Polski Hur",
    "connect": "146.59.52.110:12003",
    "request": "146.59.52.110:13003",
    "map": "hw69c",
    "gamemode": "Hurtworld",
    "version": "53",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1762853017,
    "last_update": 1776583877,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 35,
    "language": "pl",
    "parked": false,
    "app": {
      "id": 134,
      "steam_id": 393420,
      "name": "Hurtworld",
      "url": "hurtworld"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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