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

text
https://api.gamemonitoring.ru/servers/8086975
json
{
  "response": {
    "fps": 20,
    "fps_avg": 20,
    "entities_count": 51147,
    "world_seed": 76591918,
    "world_size": 3000,
    "steam_id": "90284794062707717",
    "domain": null,
    "id": 8086975,
    "ip": "185.180.2.17",
    "port": 28744,
    "query": 27744,
    "color": 0,
    "city": "Prague",
    "description": "![EU/CZ x2 ISLAND SURVIVAL | CUSTOM MAP | EVENTS | SOLO-DUO-TRIO](https://whitewolves.eu/ws/media-library/c24627e0aca89c7417df5958b20ae1f1/56e07f18-5725-4d68-a0f8-e4a500252b52jpeg.jpg)\nEU/CZ WhiteWolves – Rust Server x2\r\nStabilní 24/7 server bez lagů.\r\nCZ/SK komunita, férová hra bez cheatů a admin abuse.\r\n\r\nWipe po force wipe vždy v půlce měsíce.\r\nMaps CUSTOM 3000\r\nBeginner / Safe / Build Zone:\r\nBezpečné oblasti pro nové a mírumilovné hráče.\r\nZakázáno je PvP, raidy, turrety, výbušniny a přechovávání zbraní nebo raid materiálů.\r\nIdeální pro začátečníky nebo klidnou výstavbu.\r\n\r\nRaid limit: 1x raid na tým / den\r\nVIP příkazy: /kit Welcomer \r\nElite příkazy: /kit Elite /kit\r\nBěžné příkazy: /help /players /sil /wipe /remove /kit /stat /voteday /s [Server REWARDS]\r\n\r\nEventy: Airfield Event, Mining Event, Raidable Bases, Jet Event, Gas Station, Armored Train, Balloon Heist Event, basements (podzemí pod base)\r\nZdvojnásobená těžba (Gather Manager), Stacky x2\r\n\r\nPluginy: Better Chat, Death Notes, Discord integrace, Waypoints, WipeProtection,  EASY SAILING, Meteor\r\nvylepšené vendingy, rychlejší otevírání beden, no limit building a další\r\n\r\nIP: 185.180.2.17:27744\r\nDiscord: discord.gg/fns7QXwq\r\nWeb: whitewolves.eu",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775151730,
    "score": 0,
    "last_online": 1776868222,
    "icon": null,
    "name": "EU/CZ x2 ISLAND SURVIVAL | CUSTOM MAP | EVENTS | SOLO-DUO-TRIO",
    "connect": "185.180.2.17:28744",
    "request": "185.180.2.17:27744",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CZ",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1741599826,
    "last_update": 1776868222,
    "banned": false,
    "wipe": 1776363346,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3428,
    "language": "cs",
    "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/8086975");
$data = json_decode($json, true);
var_dump($data);