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

text
https://api.gamemonitoring.in/servers/2840006
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 2840006,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "Clever Rust › 247 Devblog › AntiCheat\n\nТоповый сервер для игры с друзьями\n\n› Clever Rust 247:\n\n· Как зайти на наш сервер — https://vk.com/topic-212464910_49974447\n· IP — connect 46.174.48.209:11111\n· Магазин — https://cleverrustdev247.gamestores.app/#/app/store/\n· Discord — https://discord.gg/clever-rust-247-devblog-1092129014..",
    "game": 480,
    "owner": 48189,
    "boosts": 1,
    "last_offline": 1750457066,
    "score": null,
    "last_online": 1740477622,
    "icon": null,
    "name": "CLEVER RUST | X3 - X5 | MAX4",
    "connect": null,
    "request": null,
    "map": "proceduralmap.2800.192.205",
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1707087405,
    "last_update": 1750457066,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 26,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 54694,
      "steam_id": 480,
      "name": "Spacewar",
      "url": "spacewar"
    },
    "server_owner": {
      "username": "djm",
      "avatar": "7e3f9673-4b25-4696-9b3e-57811b46f946.jpg",
      "last_online": 1711649840
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/2840006");
$data = json_decode($json, true);
var_dump($data);