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

text
https://api.gamemonitoring.in/servers/11501720
json
{
  "response": {
    "fps": 90,
    "fps_avg": 136,
    "entities_count": 63151,
    "world_seed": 909286,
    "world_size": 3500,
    "steam_id": "90286530668232711",
    "domain": null,
    "id": 11501720,
    "ip": "90.143.150.46",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Trollhättan",
    "description": "![[EU]Northen Wilderness JUSTFULLWIPED](https://web.troll1.se/rust/northen_wilderness_header_1024x512.jpg)\nWelcome to [EU]Northen Wilderness - a raw Rust survival server with no unnecessary rules. Build, raid, roam, trade, fight and survive your own way.\r\n\r\nRules:\r\n- Use common sense\r\n- Don't be an idiot\r\n- Play hard, but keep it fair enough that people actually want to come back\r\n\r\nWipe schedule:\r\n- Wipes every Friday\r\n- Alternating weekly between Full Wipe and Map Wipe\r\n- Forced Facepunch wipes always apply on the first Thursday of each month\r\n\r\nNo hand-holding. No safe path. Just wilderness, chaos and survival.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470420,
    "last_online": 1780584040,
    "icon": null,
    "name": "[EU]Northen Wilderness JUSTFULLWIPED",
    "connect": "90.143.150.46:28015",
    "request": "90.143.150.46:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 75,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "SE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207179,
    "last_update": 1780584040,
    "banned": false,
    "wipe": 1780436171,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4844,
    "language": "sv",
    "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/11501720");
$data = json_decode($json, true);
var_dump($data);