Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/6186231
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 6186231,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "![#1 ZBS HARD PVE x5 EN/RU - Збс Сервер!](https://rk23.ru/rmaps/im/header_new_zbs2.png)\nEnglish and Russian languages!\r\nПоддержка русского и английского языка!\r\nMany events!! [RaidBases! BP,Mini,Shop,Skins,NPC+,Bosses, Quests,much Fun!]\r\nКуча Эвентов! Рейд Базы, Магазин, Боссы!\r\nВесёлый жесткий PVE сервер(без возможности убивать и рейдить других игроков)\r\nFunny and hard PVE server(without raid and kill players)\r\n\r\nРейты x5 на всё! - Rates x5 for All!",
    "game": 252490,
    "owner": 89870,
    "boosts": 1,
    "last_offline": 1758284167,
    "last_online": 1753678821,
    "icon": null,
    "name": "#1 ZBS HARDFUN PVE RU+EN|RAIDBASE|Збс ПВЕ!",
    "connect": null,
    "request": null,
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": null,
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "CY",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1728257826,
    "last_update": 1758284167,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13227,
    "language": "el",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "romancyprus",
      "avatar": "f554423e-cbcf-4e52-9047-ac8b35ac13c2.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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