JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/9561695
json
{
  "response": {
    "steam_id": "90284552737783829",
    "domain": null,
    "id": 9561695,
    "ip": "103.77.233.211",
    "port": 20102,
    "query": 20106,
    "color": 0,
    "city": "Sydney",
    "description": null,
    "game": 736220,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773299534,
    "score": 0,
    "last_online": 1776418284,
    "icon": null,
    "name": "[Ci5] Australian Public Server 2",
    "connect": "103.77.233.211:20102",
    "request": "103.77.233.211:20106",
    "map": "MT_M_Doorwerth_Koth_01",
    "gamemode": "Counter Attack",
    "version": "v2.6.1.566911",
    "numplayers": 0,
    "maxplayers": 60,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1750586565,
    "last_update": 1776418284,
    "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": 21,
    "language": "en",
    "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/9561695");
$data = json_decode($json, true);
var_dump($data);