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

text
https://api.gamemonitoring.ru/servers/10412740
json
{
  "response": {
    "fps": 205,
    "fps_avg": 203,
    "entities_count": 104613,
    "world_seed": 80561746,
    "world_size": 4250,
    "steam_id": "90284838008765451",
    "domain": null,
    "id": 10412740,
    "ip": "148.252.76.98",
    "port": 28015,
    "query": 28014,
    "color": 0,
    "city": "Melhus",
    "description": "![The Casual Gamers Duo | 2x | EU | BiWeekly | Low upkeep](https://tcgamers.net/assets/img/rust_header.png)\nMap - BiWeekly at 20:00 CET\r\nBps - Jan/April/July/October wipe\r\n\r\n- 2x Gather/Loot\r\n- 1x Stack size\r\n- Half upkeep\r\n- Extended Workbench Range\r\n- Recyclers at Monuments\r\n- Group Limit: 2\r\n- Legacy Patrol helicopter\r\n- Raid Alarm(Req Rust+)\r\n\r\nRaid Protection\r\nSunday - Thursday 23:00 - 16:00\r\nFriday - Saturday 02:00 - 12:00\r\n24 hours wipe protection",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776913395,
    "score": 0,
    "last_online": 1776979222,
    "icon": null,
    "name": "The Casual Gamers Duo | 2x | EU | BiWeekly | Low upkeep",
    "connect": "148.252.76.98:28015",
    "request": "148.252.76.98:28014",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NO",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1759823762,
    "last_update": 1776979222,
    "banned": false,
    "wipe": 1776362663,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3789,
    "language": "no",
    "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/10412740");
$data = json_decode($json, true);
var_dump($data);