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

text
https://api.gamemonitoring.ru/servers/10413427
json
{
  "response": {
    "fps": 64,
    "fps_avg": 70,
    "entities_count": 126563,
    "world_seed": 68129295,
    "world_size": 4750,
    "steam_id": "90284555909147679",
    "domain": null,
    "id": 10413427,
    "ip": "66.51.99.77",
    "port": 28000,
    "query": 28001,
    "color": 0,
    "city": "Dallas",
    "description": "![KARMA RUST | NA | 2X | Vanilla+ | Noob Friendly](https://i.imgur.com/hjedO5R.png)\nWelcome to Karma Rust! \r\n \r\n Your perfectly modded Rust experience\r\n ⦿ Biweekly map wipe\r\n ⦿ BPs only wipe on monthly Forced Wipe\r\n ⦿ 4500+ maps with all monuments\r\n ⦿ 2X Gather, comps, and scrap\r\n ⦿ Increased stack sizes (2X for resources, meds, ammo, and certain other items)\r\n ⦿ 2X Train cart loot\r\n ⦿ Ore, fuel, and food cook at 2x speed\r\n ⦿ TC Upkeep costs reduced by 50%\r\n ⦿ Customized, balanced loot tables\r\n ⦿ Shared blueprint knowledge amongst teams\r\n ⦿ Sign Artist\r\n ⦿ Limited use remove and downgrade tool\r\n ⦿ Hackable crate time reduced from 15 minutes to 10 minutes\r\n ⦿ 60 minute days, 15 minute nights\r\n ⦿ No decay on vehicles or horses within TC radius\r\n ⦿ Patrol Heli doesn't flee\r\n \r\n We do not and will never use plugins that massively impact normal game play:\r\n NO Kits\r\n NO Pay to win\r\n NO Skip night\r\n NO Teleport or remote trade\r\n NO Custom events or monuments\r\n \r\n client.connect 66.51.99.77:28000  \r\n Discord: Click EXTERNAL WEBSITE below",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776396814,
    "score": 5,
    "last_online": 1776452428,
    "icon": null,
    "name": "KARMA RUST | NA | 2X | Vanilla+ | Noob Friendly",
    "connect": "66.51.99.77:28000",
    "request": "66.51.99.77:28001",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1759823840,
    "last_update": 1776452428,
    "banned": false,
    "wipe": 1776396812,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4084,
    "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/10413427");
$data = json_decode($json, true);
var_dump($data);