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

text
https://api.gamemonitoring.in/servers/11261231
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11261231,
    "ip": "156.38.153.242",
    "port": 10100,
    "query": 10110,
    "color": 0,
    "city": "Pretoria",
    "description": "![RAAKA SA 5x](https://i.postimg.cc/t4FrZPj8/photo_2026_01_16_12_18_27_resized.png)\n5 x Gathering Rates and 10 x Stack Sizes\r\nReworked Loot - Scap is not a Issue\r\nSkins and Fast Crafting\r\nFaster Recycler at a output cost.\r\nFurnace Splitter with faster Smelt Rates\r\nBuy Vehicles with Scrap\r\nSmall Backpacks for those heavy loads\r\nWe dont want you to grind all day, But enjoy the Game\r\nServer is well balanced, ALL Junk removed\r\nAdmin does not play, Only testing when editing",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776882155,
    "score": 0,
    "last_online": 1776277216,
    "icon": null,
    "name": null,
    "connect": null,
    "request": "156.38.153.242:10110",
    "map": null,
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "ZA",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1774555228,
    "last_update": 1776882155,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9160,
    "language": "en",
    "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/11261231");
$data = json_decode($json, true);
var_dump($data);