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

text
https://api.gamemonitoring.in/servers/6124274
json
{
  "response": {
    "fps": 97,
    "fps_avg": 94,
    "entities_count": 193168,
    "world_seed": 2060270372,
    "world_size": 4250,
    "steam_id": "90285924185826331",
    "domain": null,
    "id": 6124274,
    "ip": "46.175.122.35",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Labinsk",
    "description": "![RustyEgg No Wipe | No Offline Raid | Protection 100%](https://i.ibb.co/MnLQ3c5/preview-2-2.png)\nThe server offers a calm game, for this purpose the server has RaidProtection 100, and also for an exciting and interesting game on the server there are new custom buildings with bots and a skill tree. Various skins for buildings, items, etc. You can find out more in our discord channel.",
    "game": 252490,
    "owner": 124434,
    "boosts": 1,
    "last_offline": 1778835779,
    "last_online": 1779196211,
    "icon": null,
    "name": "RustyEgg No Wipe | No Offline Raid | Protection 100%",
    "connect": "46.175.122.35:28015",
    "request": "46.175.122.35:28017",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 91,
    "add_date": 1727882950,
    "last_update": 1779196211,
    "banned": false,
    "wipe": 1770322847,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 255,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "GmDen_Rust",
      "avatar": "3d5df1a7-e3de-446d-bb6a-5d47598bc5c5.jpg",
      "last_online": 1751197762
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/6124274");
$data = json_decode($json, true);
var_dump($data);