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

text
https://api.gamemonitoring.in/servers/8029837
json
{
  "response": {
    "fps": 155,
    "fps_avg": 149,
    "entities_count": 317548,
    "world_seed": 76951874,
    "world_size": 3500,
    "steam_id": "90285806322214916",
    "domain": null,
    "id": 8029837,
    "ip": "85.10.198.210",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Nuremberg",
    "description": "![Mitternacht 2.0 | Raid-Time | KOS-Zones | Low Upkeep](https://i.imgur.com/QhWIpa9.png)\nWillkommen auf Mitternacht 2.0\r\nDie Feierabend-Community ist zurueck!\r\nLetzter Wipe 17. April.\r\n\r\nUnser Server hat Biweekly Wipes, 6er Teams, KOS-Zonen, eine taegliche Raid-Zeit von 15-0 Uhr und nur halbe Upkeep-Kosten!\r\n\r\nAusserdem bieten wir einen aktiven und transparenten Support, ein durchdachtes Regelwerk und Admins die nicht auf diesem Server spielen!\r\n\r\nViel Spass beim farmen!\r\n\r\nVergiss nicht unserem Discord beitzutreten (Klicke auf den Blauen Button)\r\n\r\n\r\nWelcome to Mitternacht 2.0\r\nThe after-work-community is back!\r\nLast wipe April 17th.\r\n\r\nOur server has biweekly wipes, teams of 6, KOS-Zones, a daily raid time from 3pm-12am (GMT+1) and only half the upkeep costs!\r\n\r\nWe also offer active and transparent support, a well thought-out set of rules and admins who don't play on this server!\r\n\r\nHave fun farming!\r\n\r\nDont forget to join our Discord (Click on the blue button)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470419,
    "last_online": 1780554628,
    "icon": null,
    "name": "Mitternacht 2.0 | Raid-Time | KOS-Zones | Low Upkeep",
    "connect": "85.10.198.210:28015",
    "request": "85.10.198.210:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2590",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1741268289,
    "last_update": 1780554628,
    "banned": false,
    "wipe": 1749159238,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2795,
    "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/8029837");
$data = json_decode($json, true);
var_dump($data);