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

text
https://api.gamemonitoring.ru/servers/1031136
json
{
  "response": {
    "fps": 32,
    "fps_avg": 32,
    "entities_count": 67755,
    "world_seed": 255308939,
    "world_size": 3500,
    "steam_id": 90286607070224400,
    "domain": null,
    "id": 1031136,
    "ip": "198.27.68.140",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Montreal",
    "description": "![RUSTWORLD.CC [CA] Montreal - Newbie Paradise | Monthly/PvE | Wi](https://rustworldcdn.uk/rustworldlogo.jpg)\n=================== RUST WORLD FOUNDATION ===================\r\nMTL1.rustworld.cc - RustWorld Newbie Server in Montreal, QC\r\nThis server offers softcore (Newbie) game play.\r\n\r\nNew to Rust? Welcome! You can't be hurt here.\r\nTruePVE blocks all damage and raiding - relax and explore.\r\n\r\nWhat you can do: build, gather, learn, group up, fight NPCs\r\nWhat's blocked: PvP, raiding, base damage by other players\r\n\r\nMap size is 3500 using seed 255308939.\r\nLast wipe was at 06/04/2026, Next wipe is at 07/02/2026\r\nServer has 10 hours uptime, running at 32.00 fps with 1/50 players online.\r\n\r\nFEATURES:\r\n+ Custom maps rotating monthly with exclusive monuments\r\n+ Wipes: Maps monthly on 1st Thursday | BPs every 6 months\r\n+ 2x gather | 5x stack size\r\n+ Network: 13 servers worldwide at www.rustworld.cc\r\n\r\nRULES:\r\n- No griefing newbies via legal mechanisms\r\n- No racism, slurs, or harassment - perma ban\r\n- English in global, any language in clan chat\r\n- No chat or mic spam\r\n\r\nReady for PVP? Visit http://www.rustworld.cc/servers\r\n\r\nServer provided by: Rust World Foundation Inc.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780501441,
    "last_online": 1780638626,
    "icon": null,
    "name": "RUSTWORLD.CC [CA] Montreal - Newbie Paradise | Monthly/PvE | Wi",
    "connect": "198.27.68.140:28015",
    "request": "198.27.68.140:28017",
    "map": "RustWorld MTL1",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1688487306,
    "last_update": 1780638626,
    "banned": false,
    "wipe": 1780602556,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1671,
    "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/1031136");
$data = json_decode($json, true);
var_dump($data);