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

text
https://api.gamemonitoring.in/servers/11596804
json
{
  "response": {
    "fps": 105,
    "fps_avg": 109,
    "entities_count": 96540,
    "world_seed": 374688336,
    "world_size": 4250,
    "steam_id": "90286024888996895",
    "domain": null,
    "id": 11596804,
    "ip": "209.102.250.133",
    "port": 10000,
    "query": 10003,
    "color": 0,
    "city": "Singapore",
    "description": "![[SEA] Community Main | Vanilla+ | JUSTWIPE](https://www.dropbox.com/scl/fi/bru8q4ye1n11lt0nojkqz/Gemini_Generated_Image_g1obcmg1obcmg1ob.png?rlkey=1kybyqrnn1kqozp2wgnvj2fqb&st=gngjwrvc&dl=1)\nOfficial rust vanilla gaming experience with just slightly adjust\r\nServer Map wipe @Monday&thursday 4PM(UTC+8)\r\nServer BP wipe @force \r\n\r\nServer located in SEA and the following modifications:\r\n- Vanilla+ loot table\r\n- 2x Gather Rates/Pickups/Quarry\r\n- Half smelt/Recycling\r\n- Building and level 1 Workbench blueprints unlocked",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779388435,
    "last_online": 1779382831,
    "icon": null,
    "name": "[SEA] Community Main | Vanilla+ | JUSTWIPE",
    "connect": "209.102.250.133:10000",
    "request": "209.102.250.133:10003",
    "map": "Vanilla+ Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 320,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SG",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779358598,
    "last_update": 1779388435,
    "banned": false,
    "wipe": 1779354226,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10700,
    "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/11596804");
$data = json_decode($json, true);
var_dump($data);