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

text
https://api.gamemonitoring.in/servers/11131558
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11131558,
    "ip": "87.103.199.66",
    "port": 28000,
    "query": 28000,
    "color": 0,
    "city": "Novokuznetsk",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775853085,
    "score": 0,
    "last_online": 1776840093,
    "icon": null,
    "name": "4.12.1r evresy hranAt sebe rutnevdAeniM",
    "connect": "87.103.199.66:28000",
    "request": "87.103.199.66:28000",
    "map": null,
    "gamemode": null,
    "version": "Velocity 1.7.2-1.21.8",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1770397394,
    "last_update": 1776840093,
    "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": 4812,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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