JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11659622
json
{
  "response": {
    "steam_id": "90286499582347287",
    "domain": null,
    "id": 11659622,
    "ip": "202.187.5.151",
    "port": 2302,
    "query": 2303,
    "color": 0,
    "city": "Kuala Lumpur",
    "description": null,
    "game": 107410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780589008,
    "last_online": 1780363850,
    "icon": null,
    "name": "TheSpeshalPlatoon.com | Asia 1 | Modern",
    "connect": "202.187.5.151:2302",
    "request": "202.187.5.151:2303",
    "map": "Farabad",
    "gamemode": "coop_dropthehammer",
    "version": "2.20.152984",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "MY",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780178416,
    "last_update": 1780589008,
    "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": 5298,
    "language": "ms",
    "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/11659622");
$data = json_decode($json, true);
var_dump($data);