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

text
https://api.gamemonitoring.ru/servers/5233757
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 71998,
    "world_seed": 376003943,
    "world_size": 3500,
    "steam_id": "90284742863422477",
    "domain": null,
    "id": 5233757,
    "ip": "141.95.139.26",
    "port": 29097,
    "query": 28023,
    "color": 0,
    "city": "Roubaix",
    "description": "![[EU] Rust-France - SOLO/DUO | FULLWIPED 21/04 21.04](https://rust-france.net/img/Duo.jpg)\nFULLWIPE: Tuesday 5PM / Saturday 5PM (CET/CEST)\r\nFULLWIPE: Mardi 17H / Samedi 17H (CET/CEST)\r\n\r\n--- Français ---\r\nRust-France – SOLO/DUO\r\nCe serveur wipe chaque mardi et samedi.\r\n\r\n- Team max : 2\r\n- Alliances interdites\r\n- Triche / bugs interdits\r\n- VPN / Proxy interdits\r\n- Autokick : VAC < 3 mois ou ≥ 1 VAC ban\r\n- Comptes Steam niveau 0 refusés\r\n\r\nLe respect entre les joueurs est fondamental.\r\nToute personne jouant sur le serveur doit connaître et respecter les règles sous peine de sanction.\r\n\r\n--- English ---\r\nRust-France – SOLO/DUO\r\nThis server is wiped every Tuesday and Saturday.\r\n\r\n- Max team: 2\r\n- No alliances\r\n- Any cheats or bug abuse is prohibited\r\n- VPN / Proxy not allowed\r\n- Autokick: VAC ban within 3 months or 1+ VAC bans\r\n- Level 0 Steam accounts are not accepted\r\n\r\nRespect for other players is fundamental.\r\nAnyone playing on the server must know and follow the rules under penalty of sanction.\r\n\r\n--- Liens / Links ---\r\nWebsite: https://rust-france.net\r\nDiscord: https://discord.gg/rust-france\r\nSteam: https://steamcommunity.com/groups/rustfrancecommunity",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776783198,
    "score": 5,
    "last_online": 1776825618,
    "icon": null,
    "name": "[EU] Rust-France - SOLO/DUO | FULLWIPED 21/04 21.04",
    "connect": "141.95.139.26:29097",
    "request": "141.95.139.26:28023",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1721207498,
    "last_update": 1776825618,
    "banned": false,
    "wipe": 1776783219,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1669,
    "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.ru/servers/5233757");
$data = json_decode($json, true);
var_dump($data);