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

text
https://api.gamemonitoring.ru/servers/11710931
json
{
  "response": {
    "fps": 41,
    "fps_avg": 43,
    "entities_count": 206247,
    "world_seed": 648252,
    "world_size": 4250,
    "steam_id": "90286558822983704",
    "domain": null,
    "id": 11710931,
    "ip": "136.175.187.134",
    "port": 28025,
    "query": 28027,
    "color": 0,
    "city": "Dallas",
    "description": "![Grumpy Gamers Hybrid PvP/PvE, Quad, Monthly!](https://i.imgur.com/PRSSpW8.png)\nLooking for a Rust server that is Employee Friendly? Grumpy Gamers is for you!\r\n\r\nThis server offers the best of both worlds with the option to opt-in to PvP or PvE whenever you choose! Designed for chill progression and chaos PvP.\r\n\r\n⚡ REVOLUTIONARY HYBRID SYSTEM ⚡\r\n- Tweak your playstyle! Toggle PvP or PvE modes inside Safe Zones.\r\n- 48hr Raid Protection (Activates 20min After Logout).\r\n- Reduced TC Upkeep to protect your hard work while you are on the clock.\r\n\r\n🛠️ PREMIUM SERVER FEATURES 🛠️\r\n- 2x Stack Size for optimized, cleaner inventories.\r\n- Skill Tree Progression (Ultimates Disabled for balanced combat).\r\n- Raidable Bases & exciting dynamic server events.\r\n- Free Skinner Plugin to fully customize your gear.\r\n- Extended Workbenches & Recyclers added to most Monuments.\r\n\r\n👥 SERVER PLAYSTYLE 👥\r\n- Max Group: Quad (Strict 4-Man Limit).\r\n- Low-pop chill vibes with a fast-growing community.\r\n- Absolutely NO Pay-To-Win mechanics.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780631599,
    "last_online": 1780513830,
    "icon": null,
    "name": "Grumpy Gamers Hybrid PvP/PvE, Quad, Monthly!",
    "connect": "136.175.187.134:28025",
    "request": "136.175.187.134:28027",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780300741,
    "last_update": 1780631599,
    "banned": false,
    "wipe": 1779758659,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12651,
    "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/11710931");
$data = json_decode($json, true);
var_dump($data);