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

text
https://api.gamemonitoring.ru/servers/16983918
json
{
  "response": {
    "add_date": 1790176963,
    "app": {
      "id": 12,
      "name": "Rust",
      "steam_id": 252490,
      "url": "rust"
    },
    "color": 0,
    "connect": "217.60.245.134:28025",
    "country": "DE",
    "domain": null,
    "game": 252490,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 16983918,
    "ip": "217.60.245.134",
    "language": "de",
    "last_update": 1790377375,
    "map": "Custom Map",
    "maxplayers": 100,
    "name": "Boat Building | Admin Menu | F1 Items | MedioTesting Builds",
    "numplayers": 4,
    "official": null,
    "points": 62,
    "port": 28025,
    "private": false,
    "project_id": null,
    "pve": 0,
    "pvp": null,
    "query": 28027,
    "request": "217.60.245.134:28027",
    "secured": false,
    "status": true,
    "steam_id": "90293437520199681",
    "version": "2633",
    "votes": 0,
    "wipe": 1788596240,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Франкфурт-на-Майне",
    "description": "![Boat Building | Admin Menu | F1 Items | MedioTesting Builds](https://i.postimg.cc/GmdsBHV1/Mediotesting-Pfp.png)\nThis server is testing purpose only\r\n---------------------------\r\n- Behave nice\r\n- Don`t be a dick\r\n- Don`t try to do something that breaks server\r\n-------------------\r\nCreated and mainated by MediocratyItself",
    "disabled_modules": [],
    "gamemode": "Survival",
    "hidden": false,
    "last_offline": 1790366535,
    "last_online": 1790377375,
    "list_hidden": false,
    "map_url": "buildingspaces",
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 1883,
    "wipe_period": null,
    "fps": 60,
    "gmn": "rust",
    "url": "https://discord.gg/hdUu4J4Jpg",
    "hash": "4effcf3c",
    "build": "163207",
    "gc_cl": "132",
    "gc_mb": "1755",
    "fps_avg": 59,
    "ram_sys": "0",
    "map_kind": "custom",
    "map_name": "Buildingspaces",
    "map_seed": 1337,
    "map_size": 2500,
    "logoimage": "https://i.postimg.cc/GmdsBHV1/Mediotesting-Pfp.png",
    "listentype": "d",
    "environment": "w",
    "a2s_protocol": 17,
    "map_revision": null,
    "queueplayers": 0,
    "map_image_url": "https://files.facepunch.com/rust/map-images/081196a1fe7663ff5e464c7472ee8df096c1333bdc951d81da96c5f8e4dfe5b0/buildingspaces.2500.1790366598960.288_081196a1fe7663ff5e464c7472ee8df0.jpg",
    "entities_count": 52817,
    "players_complete": true
  }
}

Примеры кода

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