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

text
https://api.gamemonitoring.in/servers/10741077
json
{
  "response": {
    "fps": 62,
    "fps_avg": 66,
    "entities_count": 199958,
    "world_seed": 521961514,
    "world_size": 6000,
    "steam_id": "90286740216626195",
    "domain": null,
    "id": 10741077,
    "ip": "78.108.218.2",
    "port": 28019,
    "query": 28020,
    "project_id": null,
    "color": 0,
    "city": "Ashburn",
    "description": "We are a server that aims to gear towards adult players of Rust. We don't like children ruining our experience, and we also don't have weeks to waste on bases that just get destroyed. Come play with us on the Asylum, if you are insane enough.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780895659,
    "last_online": 1780960831,
    "icon": null,
    "name": "Project Asylum | 2/3/5x | Geared towards Adults",
    "connect": "78.108.218.2:28019",
    "request": "78.108.218.2:28020",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1766250788,
    "last_update": 1780960831,
    "banned": false,
    "wipe": 1780895804,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4003,
    "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/10741077");
$data = json_decode($json, true);
var_dump($data);