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

text
https://api.gamemonitoring.in/servers/9528564
json
{
  "response": {
    "fps": 59,
    "fps_avg": 58,
    "entities_count": 60789,
    "world_seed": 2026737777,
    "world_size": 3000,
    "steam_id": "90286574458789895",
    "domain": null,
    "id": 9528564,
    "ip": "64.40.9.139",
    "port": 28449,
    "query": 28446,
    "color": 0,
    "city": "London",
    "description": "![[EU][NL] Rust Unlimited](https://www.dropbox.com/scl/fi/myu0idgght1p3bxdtdjsv/header1.png?rlkey=3n3for7skv0xmbj4tvy29lrof&st=gf8xigcn&dl=1)\nA Noob Friendly server\r\n\r\nRules: \r\n1. No Racism, no toxic behaviour. Try and be friendly\r\n\r\n 2. Max 4 players per team\r\n2.1 You can agree with other teams not to shoot eachother\r\n2.2 You cannot raid or engage in a PVP with a group of more then 4\r\n\r\n3. Raiding is allowed, but:\r\n3.1 No Griefing (blocking the TC, sealing the base)\r\n3.2 No base takeovers,raid take what you need and leave\r\n\r\n4. PVP is encouraged\r\n4.1 This doesn't mean that you have to shoot everyone you see\r\n4.2 If you go to a monument, airdrop, lockedcrate expect PVP\r\n4.3 No door camping, especially early in the wipe\r\n4.4 No roof camping (shooting from your roof to defend your base is ok though)\r\n\r\nThis is not a hardcore survival server.\r\n\r\nJoin discord channel for a chat or help\r\nrustunlimited.nl\r\nor click the view webpage button below",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779923026,
    "last_online": 1780599633,
    "icon": null,
    "name": "[EU][NL] Rust Unlimited",
    "connect": "64.40.9.139:28449",
    "request": "64.40.9.139:28446",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1750538060,
    "last_update": 1780599633,
    "banned": false,
    "wipe": 1778177486,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3151,
    "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/9528564");
$data = json_decode($json, true);
var_dump($data);