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

text
https://api.gamemonitoring.in/servers/8410660
json
{
  "response": {
    "fps": 56,
    "fps_avg": 55,
    "entities_count": 101481,
    "world_seed": 1014,
    "world_size": 4000,
    "steam_id": "90286610528884766",
    "domain": null,
    "id": 8410660,
    "ip": "156.236.84.9",
    "port": 28115,
    "query": 28116,
    "color": 0,
    "city": "Dallas",
    "description": "![RUSTREBELS.COM (US) | 2x | PVE | EVENTS | CHILL COMMUNITY | 6/4](https://cdn3.mapstr.gg/bc22de4c461cebaa977ca914b6787517.jpg)\nWipe: Monthly on Thursday @ 1:00 PM CST| Last wipe: 6/4\nMap size: 4500 | BP Wipe: Monthly | Custom Events | 50% upkeep\n\nQuality of Life: AbandonedBases | ATM | AutoDoors | BackPacks | BetterChat | Blueprints are wipe safe | BuildingWorkbench | Clans | Custom crafting | Custom Items | Custom TechTree | Dynamic Monuments (including Jungle) | ExtendedRecycler | GatherRewards | HackableCrateUnlock | InstantBarrels | InstantCraft | MonumentLock | QuarryLock | Quest System | RecyclerSpeed | RemoverTool | ShippingContainers | Shop | SkillTree | SkipNight | and more\n\nCustom Events: Airfield Event | BetterNPC | bradleyDrop | Convoy | DangerousTreasures | HeliSignals | MonumentEvents | RaidableBases | RandomRaids\n\nConfiguration: Vanilla gameplay | No killing | No raiding | Cash is wipe-safe (if deposited at an ATM) | Backpacks never wipe (except for explosives-related items) | Monuments are locked to the player/group who loots, shoots, hacks a crate, or swipes a card | Stack size: 100x | NPCs can become hostile and may raid your base if you attack them or their bases | Your base becomes raidable when all authorized players are inactive for 7 days | Dynamic monuments randomize after each server restart | Twig structures can still be destroyed by other players | Collect custom items (gems), sell them in the shop, or craft new items (jewelry) | You can buy attack helicopters, Bradleys, and scientists to attack your base for excellent rewards.\n\nServer is still a work in progress",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780608257,
    "last_online": 1780636227,
    "icon": null,
    "name": "RUSTREBELS.COM (US) | 2x | PVE | EVENTS | CHILL COMMUNITY | 6/4",
    "connect": "156.236.84.9:28115",
    "request": "156.236.84.9:28116",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1743836142,
    "last_update": 1780636227,
    "banned": false,
    "wipe": 1780596608,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1312,
    "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/8410660");
$data = json_decode($json, true);
var_dump($data);