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

text
https://api.gamemonitoring.ru/servers/3336242
json
{
  "response": {
    "steam_id": "90284724247253011",
    "domain": null,
    "id": 3336242,
    "ip": "205.178.168.185",
    "port": 28010,
    "query": 28015,
    "color": 0,
    "city": "London",
    "description": "![Bestrust Main 2x | JUST WIPED 18.01 01/18](https://raw.githubusercontent.com/farkas1121/Bestrust-Public-Files/main/banner.png)\nWelcome to Bestrust Main 2x!\nWe have been providing our community with the best Rust experience since 2018!\n\nVIP - Skip Queue is only 1€, check out our store, click on 'View Webpage' button below\nStore: https://store.bestrustservers.com/\n\nWipe Schedule:\n• Map wipes Every Saturday at 12:45 CET\n- Last Wipe: 18.01 12:45 CET Type: Map Wipe\n- Next Wipe: 25.01 12:45 CET Type: Map Wipe\n\nFeatures:\n- 2x gathering & loot\n- Max Group Size: No limit\n- Shared Blueprints\n- Balanced kits & commands\n- Great anti-cheat + Active non-playing admins\n\nFor more info join our Discord or visit our website\nWebsite: https://bestrustservers.com/\nDiscord: https://discord.gg/bestrustservers",
    "game": 252490,
    "owner": 100772,
    "boosts": 1,
    "last_offline": 1776534204,
    "score": null,
    "last_online": 1776796211,
    "icon": null,
    "name": "Bestrust Main 2x - Weekly | JUST WIPED 19.04 04/19",
    "connect": "205.178.168.185:28010",
    "request": "205.178.168.185:28015",
    "map": "Wiped 2 days ago",
    "gamemode": "Rust",
    "version": "2623",
    "numplayers": 205,
    "maxplayers": 250,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 130,
    "add_date": 1710067659,
    "last_update": 1776796211,
    "banned": false,
    "wipe": 1776595468,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 33,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "BestrustServers",
      "avatar": "cce28750-388d-4f1a-919d-d4690113545c.jpg",
      "last_online": 1737204064
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/3336242");
$data = json_decode($json, true);
var_dump($data);