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

text
https://api.gamemonitoring.ru/servers/9527693
json
{
  "response": {
    "fps": 74,
    "fps_avg": 71,
    "entities_count": 114268,
    "world_seed": 181133495,
    "world_size": 4500,
    "steam_id": "90285177947560970",
    "domain": null,
    "id": 9527693,
    "ip": "65.109.83.172",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Helsinki",
    "description": "![Dracon Rust | Noob-friendly | QoL+ | Wiped: 30/4 | 1 day ago](https://i.ibb.co/KjymdJCk/Rust-header-image-Dracon.jpg)\nDracon Rust is a Noob-friendly, Large-map (4500), vanilla PVP server for everyone.\nWe have hand-tweaked Quality-of-Life improvements and plugins. If you are looking for a chill and traditional Rust experience but without toxicity, you've come to the right place!\nServer BP-wipes on Force and Map-wipes weekly; The last wipe was on Thursday 30/4 at 18:00 CET. The next wipe will be on Thursday 7/5 at 18:00 CET (weekly wipe schedule) (BP wiped Thursday 2/4 at 18:00 CET).\nJoin us on Discord! Use the 'View webpage' button or browse to: discord.gg/NPvF26NXRC\n\nOur custom QoL improvements and plugins include:\n‣ Reduced roadside scientists spawnrate ‣ Up to 10 map markers (double)\n‣ 50% reduced workbench tax ‣ Discord chat integration\n‣ Handy ingame commands ‣ Dynamic pricing improvements\n‣ Slower Traveling vendor ‣ Better chance of standing up when down\n‣ Increased ping (spotting) duration ‣ Patrol Helicopter fleeing disabled (on quick damage) ‣ And more\n\nSERVER RULES:\n- No griefing\n- No toxicity (voice, chat, recordings or signs)\n- No cheating or hacking\n- No VAC bans less than 6 months old\n- No Stream Sniping\n- Please use English in global chat",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777570394,
    "score": 0,
    "last_online": 1777666826,
    "icon": null,
    "name": "Dracon Rust | Noob-friendly | QoL+ | Wiped: 30/4 | 1 day ago",
    "connect": "65.109.83.172:28015",
    "request": "65.109.83.172:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1750537946,
    "last_update": 1777666826,
    "banned": false,
    "wipe": 1777570665,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3577,
    "language": "fi",
    "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/9527693");
$data = json_decode($json, true);
var_dump($data);