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

text
https://api.gamemonitoring.in/servers/10138757
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 7865,
    "world_seed": 1,
    "world_size": 1500,
    "steam_id": 90286385726392320,
    "domain": null,
    "id": 10138757,
    "ip": "178.33.122.71",
    "port": 26055,
    "query": 26056,
    "color": 0,
    "city": "Roubaix",
    "description": "![[UA/EU] Liberty | BATTLEFIELD | x1000000 | KITS | MyMini](https://i.imgur.com/nVOI768.jpeg)\nЛаскаво просимо на український сервер Rust: BATTLEFIELD x1000000!\r\n \r\n Характеристики сервера:\r\n • Рейт видобутку ресурсів x1000000\r\n • Рейт видобутку компонентів x1000000\r\n • Без обмежень на видобуток кар'єрів\r\n • Вічний день\r\n \r\n Модифікації:\r\n • Loadout – миттєве отримання бойового спорядження\r\n • Кіти – готові набори екіпірування\r\n • Зменшене КД на спальники\r\n • Кланова система\r\n • Команда /mymini – виклик особистого мінігеліка\r\n \r\n Вайп:\r\n Кожної суботи о 17:00\r\n \r\n • Discord: discord.gg/liberty-rust\r\n • WebSite: https://liberty-rust.com.ua\r\n \r\n Welcome to the Ukrainian Rust server: BATTLEFIELD x1000000!\r\n \r\n Server Features:\r\n • Resource gathering rate x1000000\r\n • Component gathering rate x1000000\r\n • No restrictions on quarry extraction\r\n • Permanent daytime\r\n \r\n Modifications:\r\n • Loadout – instant combat gear\r\n • Kits – ready-made equipment sets\r\n • Reduced cooldown on sleeping bags\r\n • Clan system\r\n • Command /mymini – summon your personal minicopter\r\n \r\n Wipe:\r\n Every Saturday at 17:00\r\n \r\n • Discord: discord.gg/liberty-rust\r\n • WebSite: https://liberty-rust.com.ua",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779954824,
    "last_online": 1780132824,
    "icon": null,
    "name": "[UA/EU] Liberty | BATTLEFIELD | x1000000 | KITS | MyMini",
    "connect": "178.33.122.71:26055",
    "request": "178.33.122.71:26056",
    "map": "Liberty Maps",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1756198733,
    "last_update": 1780132824,
    "banned": false,
    "wipe": 1778257616,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3575,
    "language": "fr",
    "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/10138757");
$data = json_decode($json, true);
var_dump($data);