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

text
https://api.gamemonitoring.in/servers/11492128
json
{
  "response": {
    "fps": 201,
    "fps_avg": 195,
    "entities_count": 49443,
    "world_seed": 919856972,
    "world_size": 3000,
    "steam_id": "90285505142440963",
    "domain": null,
    "id": 11492128,
    "ip": "136.243.79.51",
    "port": 28080,
    "query": 28015,
    "color": 0,
    "city": "Falkenstein",
    "description": "![Eclipse x1 Solo/Duo/Trio FULLWIPED (07.05)](https://i.postimg.cc/gJyVPvJH/af1c86d6-58c9-4e2c-a162-6f0ca810fcfa.jpg)\n[RU] Добро пожаловать на Eclipse!\r\n• Рейты: х1 (Classic)\r\n• Лимит: Solo/Duo/Trio\r\n• Вайп: Каждый четверг в 13:00 МСК\r\n• Карта: 3000\r\n• Активная администрация и защита от читеров.\r\n\r\n[EN] Welcome to Eclipse!\r\n• Rates: x1 (Classic)\r\n• Group Limit: Solo/Duo/Trio\r\n• Wipe: Every Thursday at 13:00 MSK (10:00 UTC)\r\n• Map size: 3000\r\n• Active admins and Antihack protection.\r\n\r\nПриятной игры! / Have a good game!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778191398,
    "score": 0,
    "last_online": 1778269220,
    "icon": null,
    "name": "Eclipse x1 Solo/Duo/Trio FULLWIPED (07.05)",
    "connect": "136.243.79.51:28080",
    "request": "136.243.79.51:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2624",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 2,
    "points": 62,
    "add_date": 1778191398,
    "last_update": 1778269220,
    "banned": false,
    "wipe": 1778180398,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2022,
    "language": "de",
    "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/11492128");
$data = json_decode($json, true);
var_dump($data);