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

text
https://api.gamemonitoring.in/servers/11188882
json
{
  "response": {
    "steam_id": "90284800140598295",
    "domain": null,
    "id": 11188882,
    "ip": "94.154.1.101",
    "port": 28015,
    "query": 27015,
    "color": 0,
    "city": "Nuremberg",
    "description": "![EU RustChimera 2X|Solo/Duo|50% UPKEEP|SHARED BP|Biweekly](https://dl.scalbox.com/Rust/RustChimera/cover_base_server_1024x512.png)\nEU RustChimera 2X|Solo/Duo|50% UPKEEP|SHARED BP|Biweekly\r\n\r\nBiweekly - BP(Blueprint) Biweekly Wipe\r\n\r\nWIPE Biweekly: every 2nd Thursday of the month at 19 UTC (London time)\r\n\r\n°CLAN LIMITS: 2\r\n°SHARED BP with CLAN\r\n°UPKEEP 50%\r\n°STACK SIZE: 2X\r\n°CRAFT TIME: 2x\r\n°Excavator: 2x (Sulfur: 1,5x)\r\n°Mining Quarry: 2x (Sulfur: 1,5x)\r\n°Pickup Resource: 2x (Sulfur: 1,5x)\r\n°Sulfur: 1,5x\r\n°Scrap: 2x\r\n\r\n\r\n°Skin\r\n°Recycler speed 2x\r\n°Smelting speed 2x\r\n°Crafting speed 2x\r\n°Furnace speed 2x\r\n°Reduced the hacking time: 8 minutes\r\n°Night length: 5 minutes\r\n°RUST+ automatic raid alert\r\n\r\n\r\n°Game information panel\r\n°Wipe scheduler\r\n°Foods doesn't burn\r\n°Active admins\r\n\r\n°Language: English\r\n--------------------\r\n\r\nRules:\r\n°No cheating/exploiting\r\n°No form of racism\r\n°Don't insult other players\r\n°Don't troll\r\n°No Stream sniping\r\n°Don't write, do, draw, post or talk about offensive things.\r\n\r\n°Type /info for the rest of the in-game rules",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776405221,
    "score": 0,
    "last_online": 1776848420,
    "icon": null,
    "name": "EU RustChimera 2X|Solo/Duo|50% UPKEEP|SHARED BP|Biweekly",
    "connect": "94.154.1.101:28015",
    "request": "94.154.1.101:27015",
    "map": "Custom Map",
    "gamemode": "Rust",
    "version": "2623",
    "numplayers": 2,
    "maxplayers": 60,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1772699023,
    "last_update": 1776848420,
    "banned": false,
    "wipe": 1776361556,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2144,
    "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/11188882");
$data = json_decode($json, true);
var_dump($data);