JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11143327
json
{
  "response": {
    "steam_id": "90285136530030599",
    "domain": null,
    "id": 11143327,
    "ip": "155.4.94.155",
    "port": 27024,
    "query": 27025,
    "color": 0,
    "city": "Lomma",
    "description": "[TanBinh_Fix](https://steamcommunity.com/sharedfiles/filedetails/?id=3692406155)\r\n[HNG](https://steamcommunity.com/sharedfiles/filedetails/?id=3568235773)\r\n[SkiddleMap](https://steamcommunity.com/sharedfiles/filedetails/?id=3692814383)\r\n[SaintQuentin_Green](https://steamcommunity.com/sharedfiles/filedetails/?id=3650258287)\r\n[UkraineArmy](https://steamcommunity.com/sharedfiles/filedetails/?id=3669738102)\r\n[Operationleansteep](https://steamcommunity.com/sharedfiles/filedetails/?id=3303665721)\r\n[BigLearning](https://steamcommunity.com/sharedfiles/filedetails/?id=2947290153)\r\n[UkraineFields](https://steamcommunity.com/sharedfiles/filedetails/?id=3690421741)\r\n[Rublivka](https://steamcommunity.com/sharedfiles/filedetails/?id=3119721855)\r\n[DifferentLighting](https://steamcommunity.com/sharedfiles/filedetails/?id=3649259612)\r\n[KorangalValley](https://steamcommunity.com/sharedfiles/filedetails/?id=3660225476)",
    "game": 736590,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776080511,
    "score": 5,
    "last_online": 1777536025,
    "icon": null,
    "name": "=LoyalGames.Eu=#3 | | UKR - RUS | Helis |",
    "connect": "155.4.94.155:27024",
    "request": "155.4.94.155:27025",
    "map": "Operation Lean Sweep AAS",
    "gamemode": "OHD Vehicle Overhaul",
    "version": "89",
    "numplayers": 0,
    "maxplayers": 64,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1771693985,
    "last_update": 1777536025,
    "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": 8,
    "language": "sv",
    "parked": false,
    "app": {
      "id": 52393,
      "steam_id": 736590,
      "name": "Operation: Harsh Doorstop",
      "url": "operation-harsh-doorstop"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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