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

text
https://api.gamemonitoring.in/servers/734311
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 734311,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "![$RustResort.com - EU Vanilla | 2X Monday 9.10](https://i.imgur.com/yMWV0M2.jpeg)Wipe every Monday at EST 9:00 am /GMT 2:00 pm / MSK 17:00.Semi-classical 2X:No donate;Resource extraction 2X;Team No Limit;Recycle in a fishing village and ranch.Buy VIP: ru",
    "game": 252490,
    "owner": 23528,
    "boosts": 1,
    "last_offline": 1750457066,
    "last_online": 1721285479,
    "icon": null,
    "name": "1w.RustResort.com - EU Vanilla | 2X Monday 15.07",
    "connect": null,
    "request": null,
    "map": "Custom Map",
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1673257269,
    "last_update": 1750457066,
    "banned": false,
    "wipe": 1721048087,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13046,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "samnikes98485954",
      "avatar": "no.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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