JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/6150421
json
{
  "response": {
    "fps": 51,
    "fps_avg": 52,
    "entities_count": 97235,
    "world_seed": 973174846,
    "world_size": 3750,
    "steam_id": "90285731365658636",
    "domain": null,
    "id": 6150421,
    "ip": "91.124.63.71",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Istanbul",
    "description": "![[TR/EU] Zen Valley 2X | PvE | PvP | RP | Skills | Skins |](https://i.imgur.com/eHHOnR1.png)\n\r\n\r\nBARIŞ (PvE) ya da SAVAŞ (PvP) modunu seçerek oyun tarzını netleştir. Seçilen Mod bir sonraki WIPE a kadar değiştirilemez. PvE ve PvP oyuncular birbirlerini öldüremez, baskın yapamaz. Seçtiğin modun kurallarını ve özelliklerini oyun içinde /rules yazarak inceleyebilirsin. \r\n\r\n - Küfür (Ailevi değerlere hakaret)\r\n - Siyasi Söylem, Propaganda\r\n - Toksik hareketler\r\n ...BAN SEBEBİDİR...\r\n... Rust'ın tam Chill & Creative PvE ve PvP sürümünün keyfini çıkarman dileğiyle, iyi eğlenceler...\r\n\r\n - Aylık Wipe\r\n - Bir Sonraki Wipe : 07/05/2026 Perşembe 22.00\r\n\r\n ----------ÖZELLİKLER----------\r\n\r\n - WarMode (Exclusive Paid Plugin)\r\n - Raidable Bases (Exclusive Paid Plugin)\r\n - Casino (Exclusive Paid Plugin)\r\n - Deployable Nature (Exclusive Paid Plugin)\r\n - Skinner (Exclusive Paid Plugin)\r\n - Backpacks\r\n - SkillTree (Exclusive Paid Plugin)\r\n - Kits (Exclusive Paid Plugin)\r\n - Shop (Exclusive Paid Plugin)\r\n - Economics\r\n - Casino (Exclusive Paid Plugin)\r\n - Deployable Nature (Exclusive Paid Plugin)\r\n - Building Skins\r\n - Remover\r\n - Unlocked DLC items",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778734977,
    "score": 0,
    "last_online": 1778755817,
    "icon": null,
    "name": "[TR/EU] Zen Valley 2X | PvE | PvP | RP | Skills | Skins |",
    "connect": "91.124.63.71:28015",
    "request": "91.124.63.71:28016",
    "map": "ZenValleyMap",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 3,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "TR",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1728012270,
    "last_update": 1778755817,
    "banned": false,
    "wipe": 1778187235,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1911,
    "language": "tr",
    "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.ru/servers/6150421");
$data = json_decode($json, true);
var_dump($data);