JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11394431
json
{
  "response": {
    "steam_id": "90284193313359873",
    "domain": null,
    "id": 11394431,
    "ip": "134.119.187.18",
    "port": 22714,
    "query": 22724,
    "color": 0,
    "city": "Strasbourg",
    "description": null,
    "game": 736220,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776782004,
    "score": 0,
    "last_online": 1776770538,
    "icon": null,
    "name": ">>>GIRLS UND PANZER OFFICIAL<<<",
    "connect": "134.119.187.18:22714",
    "request": "134.119.187.18:22724",
    "map": "L_ProvingGround_GuP_Sandbox",
    "gamemode": "PS BASE GAMEMODE",
    "version": "v2.6.1.566911",
    "numplayers": 0,
    "maxplayers": 80,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "FR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1774596944,
    "last_update": 1776782004,
    "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": 46,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 19973,
      "steam_id": 736220,
      "name": "Squad 44",
      "url": "squad-44"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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