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

text
https://api.gamemonitoring.ru/servers/11159023
json
{
  "response": {
    "fps": 186,
    "fps_avg": 170,
    "entities_count": 111064,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": 90284835319418910,
    "domain": null,
    "id": 11159023,
    "ip": "212.117.169.60",
    "port": 25588,
    "query": 25578,
    "color": 0,
    "city": "Luxembourg",
    "description": "![Rusty Beehive | Monthly | Solo | 50% Upkeep | Noob Friendly](https://rustybeehive.uk/fileshack/p.php?token=26799b90538e0dcc892d007926856c8fd230a9e833d1f4cac8089be6b8dd8ad8)\nRusty Beehive | Monthly | Solo | 50% Upkeep | Noob Friendly | No BP Wipe\r\n\r\n• No BP wipes at all\r\n• Max group size: 1\r\n• Minis spawn on roads\r\n• 50% upkeep\r\n• Custom generated maps\r\n• Beginner friendly\r\n• Active non-playing admins\r\n\r\nSERVER RULES\r\n\r\n• English only in global chat\r\n• No cheating, exploiting, scripting, or ban evasion\r\n• No racism, harassment, or hate speech\r\n• No excessive toxicity\r\n\r\n• VAC/game bans under 365 days not allowed\r\n• Multiple VAC/game bans not allowed\r\n\r\n• No permanent base griefing or sealing\r\n• Unlock doors & TCs after raids\r\n• Temporary seals must be removed\r\n• No blocking safe zones\r\n• Raid bases must decay\r\n• Vehicles & quarries are free to take\r\n• Foundation wiping allowed\r\n\r\n• No alliances or coordinated teaming\r\n• Remove bags/codes/auth when swapping\r\n• Team limit violations = team ban\r\n\r\nVISIT OUR WEBSITE FOR FULL RULESET AND MEANINGS!\r\nANYONE WHO BREAKS THE RULES WILL BE KICKED / BANNED",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776474202,
    "score": 0,
    "last_online": 1776988221,
    "icon": null,
    "name": "Rusty Beehive | Monthly | Solo | 50% Upkeep | Noob Friendly",
    "connect": "212.117.169.60:25588",
    "request": "212.117.169.60:25578",
    "map": "Rusty Beehive Generated Maps",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "LU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772228122,
    "last_update": 1776988221,
    "banned": false,
    "wipe": 1775152336,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4603,
    "language": "lb",
    "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/11159023");
$data = json_decode($json, true);
var_dump($data);