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

text
https://api.gamemonitoring.in/servers/567762
json
{
  "response": {
    "fps": 141,
    "fps_avg": 146,
    "entities_count": 104145,
    "world_seed": 939411492,
    "world_size": 4300,
    "steam_id": "90286611185388554",
    "domain": null,
    "id": 567762,
    "ip": "74.91.125.165",
    "port": 28015,
    "query": 28015,
    "color": 0,
    "city": "Chicago",
    "description": "![KGN-Noob Palace: No KOS/Noob Friendly/Chill](https://i.pinimg.co/564x/51/ee/28/51ee28af57cac91f62652b6f3d1407cd.jpg)\nThis is a No KOS, noob friendly server; BP's wipe monthly \r\nPVP zones are marked on the map. \r\nRaiding is allowed but dont make it your sole purpose. \r\nFor more info and rules, please visit the discord. https://discord.gg/6GPKnBAcu3 \r\nQuality Of Life Additions \r\n2x stacks \r\n2x recycler \r\nFaster Vendors \r\nNo Fuel Lanterns \r\nhalf Upkeep \r\nHalfDeployable Decay \r\nAdmin shops selling unique items with public utilities \r\nCurrent Schedule: June 4th - June 18th \r\nPurge Event:  through wipe day June 17th - June 8th.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780610057,
    "last_online": 1780611627,
    "icon": null,
    "name": "KGN-Noob Palace: No KOS/Noob Friendly/Chill",
    "connect": "74.91.125.165:28015",
    "request": "74.91.125.165:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 2,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1668891156,
    "last_update": 1780611627,
    "banned": false,
    "wipe": 1780609996,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1993,
    "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/567762");
$data = json_decode($json, true);
var_dump($data);