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

text
https://api.gamemonitoring.ru/servers/10815440
json
{
  "response": {
    "fps": 46,
    "fps_avg": 45,
    "entities_count": 124512,
    "world_seed": 206928003,
    "world_size": 4250,
    "steam_id": "90285146371264521",
    "domain": null,
    "id": 10815440,
    "ip": "87.52.104.223",
    "port": 30000,
    "query": 30001,
    "color": 0,
    "city": "Copenhagen",
    "description": "![InfinityNet.dk|PvE|Events|Zombies|Wipe Purge|Levels](https://infinitynet.dk/public/custom/images/ServerBanner.jpg)\nInfinityNet.dk offers a unique PvE experience with countless custom-made plugins and friendly staff\n\nINFORMATION\n● Custom PvE plugin\n● Player and storage looting disabled (unless in the same team)\n● Player and building damage disabled\n● Turrets targeting players disabled\n● Wipe cycle: monthly map wipes (blueprints NEVER WIPES)\n● Use /help or /info in the chat for a full list of commands and helpful information\n\nSOCIALS\n● Website: infinitynet.dk\n● Discord: discord.infinitynet.dk\n● Steam: steam.infinitynet.dk\n\nFEATURES\n● Custom developed plugins\n● Blueprints, coins and /backpack are persistent through server wipes\n● Improved spawn items given upon respawn\n● Crafting time heavily reduced\n● Custom event with NPCs roaming around highly valuable treasures\n● Many, many Quality Of Life improvements\n● Custom server shops with a large variety of items\n● Custom level system integrated with our custom minimalistic information GUI\n● Custom purge event 48 hours before server wipe\n● Custom zombies roaming the map\n\nRULES\n● Share the loot at public events if multiple players (be fair to fellow players)\n● No exploiting of plugins or server features\n● No raiding, griefing, killing, shooting, looting, griefing, monument camping\n● No monument/road controlled/interruption bases, overtaking bases, trap/harmful bases, mass grid claiming base",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777511009,
    "score": 0,
    "last_online": 1777570220,
    "icon": null,
    "name": "InfinityNet.dk|PvE|Events|Zombies|Wipe Purge|Levels",
    "connect": "87.52.104.223:30000",
    "request": "87.52.104.223:30001",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DK",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1767109900,
    "last_update": 1777570220,
    "banned": false,
    "wipe": 1775225774,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1876,
    "language": "da",
    "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/10815440");
$data = json_decode($json, true);
var_dump($data);