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

text
https://api.gamemonitoring.ru/servers/11261041
json
{
  "response": {
    "fps": 182,
    "fps_avg": 183,
    "entities_count": 115193,
    "world_seed": 680093225,
    "world_size": 4250,
    "steam_id": "90284721658717184",
    "domain": null,
    "id": 11261041,
    "ip": "40.160.19.134",
    "port": 27027,
    "query": 28015,
    "color": 0,
    "city": "Oakton",
    "description": "![RustroCity | PVE/PVP Zones, RP Friendly, Daily Rewards, No KOS](https://i.imgur.com/FY64A82.jpeg)\nFeatures \r\n ● Blood Moon Event - Rare drops and chances to fight undead \r\n ● Daily Rewards - Claim items each day, extra for Supporters or Discord linked \r\n ● Surprise Zombies - Our custom AI hunts you down with per player logic \r\n ● Reduced Base Upkeep by 50% for more fun builds \r\n ● Extended Workbench Ranges so crafting is easier \r\n ● Auto Turret Auth - Team mates won't get instant slimed \r\n ● Sort Button - Clean up messing team mate loot \r\n ● Chat Tags - Customize your tags with text or emojis \r\n ● Furnace Splitter - Easily manage furnace smelting \r\n ● Playtime Rewards – Earn bonus items that improve with more hours, cycle every 5 days \r\n  \r\n Information \r\n ● In-house exclusive plugins and optimized systems. \r\n ● Active Discord - Over 2,000 awesome people \r\n ● Active admins and very helpful community \r\n ● Powerful Hardware - Ryzen 9800X3D DDR5 64GB via us.ovhcloud \r\n ● Map Wipe – Bi-Weekly 2PM Thursdays \r\n ● Blue Prints – Monthly First Thursday of the Month \r\n  \r\n Rules \r\n ● No chat spam, player disrespect, racism or harassment. \r\n ● No base griefing of any kind. \r\n ● No Cheating or Exploiting. \r\n  \r\n  \r\n Discord: \r\n fwkzt.com/discord",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776708799,
    "score": 0,
    "last_online": 1776858019,
    "icon": null,
    "name": "RustroCity | PVE/PVP Zones, RP Friendly, Daily Rewards, No KOS",
    "connect": "40.160.19.134:27027",
    "request": "40.160.19.134:28015",
    "map": "Wiped 5 Days ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 5,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1774555216,
    "last_update": 1776858019,
    "banned": false,
    "wipe": 1776371517,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1524,
    "language": "en",
    "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/11261041");
$data = json_decode($json, true);
var_dump($data);