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

text
https://api.gamemonitoring.ru/servers/11260883
json
{
  "response": {
    "fps": 127,
    "fps_avg": 126,
    "entities_count": 144574,
    "world_seed": 462823236,
    "world_size": 4500,
    "steam_id": "90286531104252947",
    "domain": null,
    "id": 11260883,
    "ip": "138.229.18.147",
    "port": 28018,
    "query": 28020,
    "color": 0,
    "city": "Montreal",
    "description": "![420 CHILL ZONE-NO DECAY/UPKEEP-EXTRA MONUMENTS-BASEMENTS-WATER ](https://www.420gaming.org/sp/header1024.png)\nWelcome to 420 Chill Zone!\r\nA friendly Rust experience focused on PvE, creative building,and fun community features.\r\nEnjoy a relaxed vibe with plenty of events to play!\r\n\r\nServer Features:\r\n Monthly full wipes: Blueprints,map and xp are wiped.\r\n PVE: No killing.\r\n No upkeep,no decay,just build.\r\n Variable gather rates: Each ressource has its own gather rate.\r\n Basements: You can build a basement under your base\r\n Mymini: Spawn your own Minicopter to get around by air\r\n Jetpacks: You can buy it at Outpost,its the burlap glove sold in the admin shop\r\n Raidable Bases: Tackle AI-controlled bases for great rewards\r\n Events: 18 different events and new ones added every month.\r\n Water Bases: Build and explore on the water\r\n Train Bases: Unique rail-based building opportunities\r\n Recycler: Craft yourself a recycler for easier resource management\r\n Home/Outpost/Bandit: Convenient teleports for fast travel\r\n QOL Improvements: No tax on workbenches or vending machines\r\n Your food wont spoil even in boxes\r\n Tons more quality of life tweaks\r\n\r\nWork in Progress:\r\n We are always updating and improving!\r\n New plugins added regularly\r\n Join our community and help shape the future of the server.\r\n\r\nHave fun & enjoy your stay!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780437859,
    "last_online": 1780550436,
    "icon": null,
    "name": "420 CHILL ZONE-NO DECAY/UPKEEP-EXTRA MONUMENTS-BASEMENTS-WATER",
    "connect": "138.229.18.147:28018",
    "request": "138.229.18.147:28020",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774555210,
    "last_update": 1780550436,
    "banned": false,
    "wipe": 1779403534,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4335,
    "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/11260883");
$data = json_decode($json, true);
var_dump($data);