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

text
https://api.gamemonitoring.ru/servers/756493
json
{
  "response": {
    "fps": 165,
    "fps_avg": 142,
    "entities_count": 65679,
    "world_seed": 396058456,
    "world_size": 3500,
    "steam_id": "90286558599645187",
    "domain": null,
    "id": 756493,
    "ip": "198.91.50.150",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Centerville",
    "description": "![[US] TheRustyOre 2x Vanilla Solo|Duo|Trio|Quad|US|WEEKLY|WIPED ](https://i.imgur.com/7fCS2g6.jpg)\nWelcome to TheRustyOre 2x Vanilla+ Solo|Duo|Trio|Quad\r\n3500 Map Size\r\n2x Gather, 2x Stack, 2x Smelt Time, 2x Craft time\r\n\r\nWant to help support the server? Buy VIP @ https://www.therustyore.com (Includes Queue Skip, Skinbox, FurnaceSplitter, Map Preview, Box Sorter, Sign Artist and more to come...\r\n\r\nWipes are every Friday at 5pm EST\r\n\r\nMap Wiped 4/4/26\r\nNext Map Wipe - 4/11/26\r\nLast BP Wipe - 4/2/26\r\nNext BP Wipe - 5/7/26\r\n\r\n\r\nQuestions? Help? Join our Discord http://discord.gg/kDEAy8ApEA\r\n\r\nNeed an Admin? Use #support in discord\r\n\r\nRULES\r\n\r\n1. There is a limit to the amount of allowed players on code locks and toolcupboards.\r\n2. There is a limit to the amount of allowed players when it comes to bags/beds allowed in a base/compound (same owners as on the TC).\r\n3. There is a limit to the amount of allowed players allowed to group up at any point in the game.\r\n4. No Slurs or Racism.\r\n5. No excessive toxicity.\r\n6. Respect the staff.\r\n7.  Need a wall or item removed for upgrades or mistakes? Contact an admin on discord",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779319381,
    "last_online": 1780564829,
    "icon": null,
    "name": "[US] TheRustyOre 2x Vanilla Solo|Duo|Trio|Quad|US|WEEKLY|WIPED",
    "connect": "198.91.50.150:28015",
    "request": "198.91.50.150:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1677863971,
    "last_update": 1780564829,
    "banned": false,
    "wipe": 1778212120,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2190,
    "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/756493");
$data = json_decode($json, true);
var_dump($data);