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

text
https://api.gamemonitoring.in/servers/7920816
json
{
  "response": {
    "fps": 69,
    "fps_avg": 70,
    "entities_count": 158109,
    "world_seed": 79119669,
    "world_size": 4500,
    "steam_id": "90284813727782923",
    "domain": null,
    "id": 7920816,
    "ip": "185.180.2.23",
    "port": 28124,
    "query": 27124,
    "color": 0,
    "city": "Prague",
    "description": "![CZ/EU Farming Industry PVE](https://i.imgur.com/iTFkmww.png)\nEvents & Bosses\r\nAirfield Event, Arctic Base Event, Cargo Convoy, Convoy, Ferry Terminal Event, Gas Station Event, Harbor Event, Launch Site Helipad Event, Metal Event, Power Plant Event, Stone Event, Sulfur Event, Supermarket Event, Train Yard Event, Water Event, Boss Monster, Dungeon Bases, Operation Fortress, Raidable Bases, Abandoned Bases\r\n\r\nVehicles & Combat\r\nArmored Train, Road Bradley, Bradley Drops, Bradley Tiers, JetPack, Vehicle Licence, Spawn Modular Car, Night Zombies, Zombie Hunter\r\n\r\nEconomy & Trading\r\nEconomics, Bank System, RustRewards, DailyRewards, Battlepass, Trade, Home Marketplace, Personal Marketplace, Virtual Quarries\r\n\r\nItems & Progression\r\nItem Perks + Legendary Items, Customizable Weapons, Customizable Protection, Custom Magazine, Skill Tree, Skills, Player Challenges, PlayerRanks, StatsController, XDQuest, LootTable, Custom Item Definitions\r\n\r\nFarming & QoL\r\nAutoFarm, Backpacks, BGrade, Furnace Upgrades, Indoor Furnace, RecyclerBox, PersonalRecycler, Helpful Supply, EasyAirdrop, InstantAirdrop, NightVision, HeadLight, TalkingNpc, TalkingNpcVehicles, Ganja",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776434605,
    "score": 0,
    "last_online": 1776873620,
    "icon": null,
    "name": "CZ/EU Farming Industry PVE",
    "connect": "185.180.2.23:28124",
    "request": "185.180.2.23:27124",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 2,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CZ",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1740791948,
    "last_update": 1776873620,
    "banned": false,
    "wipe": 1775156178,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1697,
    "language": "cs",
    "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/7920816");
$data = json_decode($json, true);
var_dump($data);