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

text
https://api.gamemonitoring.in/servers/10957795
json
{
  "response": {
    "fps": 61,
    "fps_avg": 60,
    "entities_count": 88550,
    "world_seed": 235214983,
    "world_size": 4000,
    "steam_id": "90286592287124504",
    "domain": null,
    "id": 10957795,
    "ip": "184.105.7.88",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "San Jose",
    "description": "![Rusttopia | Vanilla | Solo/Duo/Trio | NA | Weekly 05.26](https://image.myrustserver.com/logo/Pirata_PR_69d54f1b67067.png)\nBienvenidos a Rusttopia/Welcome to Rusttopia\r\n\r\nRules in Spanish\r\nNo se permite ningun tipo de acoso a los jugadores como Homofobicos, sexista, racismo,\r\n\r\nEsta totalmente prohivido el uso de Hack, Script, etc etc todo con lleva a un ban permanente en el server\r\n\r\nEsta rotundamente prohibido hacer ruff camping, al menos que sea que estes velando al compañero cuando este farmeando al rededor de la base para que no lo manten, delo contrario el ruff camping esta prohibido\r\n\r\n\r\nRules in English\r\nNo form of harassment against players—including homophobic, sexist, or racist behavior—is permitted.\r\n\r\nThe use of hacks, scripts, etc. is strictly prohibited; doing so will result in a permanent ban from the server.\r\n\r\nRuff camping is strictly prohibited, unless you are watching over a teammate while they are farming around the base to ensure their safety; otherwise, ruff camping is prohibited.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780589064,
    "last_online": 1780587637,
    "icon": null,
    "name": "Rusttopia | Vanilla | Solo/Duo/Trio | NA | Weekly 05.26",
    "connect": "184.105.7.88:28015",
    "request": "184.105.7.88:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1768741784,
    "last_update": 1780589064,
    "banned": false,
    "wipe": 1779826105,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10252,
    "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/10957795");
$data = json_decode($json, true);
var_dump($data);