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

text
https://api.gamemonitoring.in/servers/11606807
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 65384,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": "90286448527249414",
    "domain": null,
    "id": 11606807,
    "ip": "15.235.31.124",
    "port": 26887,
    "query": 26888,
    "color": 0,
    "city": "Montreal",
    "description": "![[NA] Rusty Boys - Softcore|No BP wipe|Buy NoRaid with scrap](https://i.imgur.com/lfbvbb9.png)\n• A Softcore PvP server trying to promote character vs character combat more than base raiding\r\n|\r\n• Optional NoRaid base protection paid for with scrap by the hour through the TC similar to regular base maintenance. This mechanic allows players to start a base without worry and then drop the protection when they feel ready to fight. *NOTE* Base protection can only be enabled 5 minutes after the base was last damaged. If your NoRaid protection goes down due to lack of scrap and someone starts attacking your base, you have to fight them off before you can put the protection back up. Twig is not protected.\r\n|\r\n• No blueprint wiping. Only need to research or unlock things once.\r\n|\r\n• Active admins on the Discord. https://discord.gg/BHgn8Rvw\r\n|\r\n• Please keep all comments respectful. Any hate | harassment | advertising will get you banned no exceptions. Keep all conversations related to the game and server.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780033421,
    "last_online": 1780549833,
    "icon": null,
    "name": "[NA] Rusty Boys - Softcore|No BP wipe|Buy NoRaid with scrap",
    "connect": "15.235.31.124:26887",
    "request": "15.235.31.124:26888",
    "map": "Procedural Map",
    "gamemode": "Softcore",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915484,
    "last_update": 1780549833,
    "banned": false,
    "wipe": 1779385015,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5466,
    "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/11606807");
$data = json_decode($json, true);
var_dump($data);