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

text
https://api.gamemonitoring.ru/servers/10459988
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 103349,
    "world_seed": 323131597,
    "world_size": 4050,
    "steam_id": "90284792354738201",
    "domain": null,
    "id": 10459988,
    "ip": "95.217.75.83",
    "port": 29015,
    "query": 29017,
    "color": 0,
    "city": "Helsinki",
    "description": "![[PL/EU] GhostTown [PvE 100%][Water Bases] NoRaid,NoKill](https://rustland.pl/wp-content/uploads/2019/07/banner_rust.jpg)\n[PvE] - Player Killing and destruction of buildings by other players has been disabled.\r\n[PvE] - Przyjazny sewer z zasadami, dla NOWYCH i starych graczy.\r\n[PvE] - Niszczenie budynkow innych graczy zostalo ZABLOKOWANE.\r\n[PvE] - Zabijanie innych graczy zostalo ZABLOKOWANE.\r\n☣ Decay działa tylko na obiekty z gałązek, ulepszone nie, NoUpkeep (nie musisz mieć surowców w szafie)\r\n☣ Zwiększone pozyskiwanie surowców.\r\n☣ Samochody, Minicoptery, Balony\r\n☣ Zwiększone stacki, tpr, home, clans, remove, i wiele innych...\r\nW dodatku RP, sklep, wydarzenia specjalne, VIP...\r\n\r\nAKTYWNA administracja! Zawsze chętnie pomożemy w każdej sprawie związanej z grą.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776823397,
    "score": 0,
    "last_online": 1776825619,
    "icon": null,
    "name": "[PL/EU] GhostTown [PvE 100%][Water Bases] NoRaid,NoKill",
    "connect": "95.217.75.83:29015",
    "request": "95.217.75.83:29017",
    "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": 1760474394,
    "last_update": 1776825619,
    "banned": false,
    "wipe": 1776539503,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3627,
    "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/10459988");
$data = json_decode($json, true);
var_dump($data);