JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/7065480
json
{
  "response": {
    "steam_id": "90284561460783126",
    "domain": null,
    "id": 7065480,
    "ip": "46.174.48.58",
    "port": 2302,
    "query": 2303,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 107410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775095330,
    "score": 5,
    "last_online": 1776438017,
    "icon": null,
    "name": "Gladius (СВО) - PVP #1",
    "connect": "46.174.48.58:2302",
    "request": "46.174.48.58:2303",
    "map": "Robotyne",
    "gamemode": "Район Работино",
    "version": "2.20.152984",
    "numplayers": 69,
    "maxplayers": 200,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 71,
    "add_date": 1735737590,
    "last_update": 1776438017,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 18,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 61,
      "steam_id": 107410,
      "name": "Arma 3",
      "url": "arma-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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