JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/9997799
json
{
  "response": {
    "steam_id": "85568392934928546",
    "domain": null,
    "id": 9997799,
    "ip": "104.234.224.237",
    "port": 29055,
    "query": 29055,
    "color": 0,
    "city": "Cotia",
    "description": null,
    "game": 304930,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776773604,
    "score": 0,
    "last_online": 1776814837,
    "icon": "https://imgur.com/UzigH8W.png",
    "name": "[BR] THE WALKING DEAD BRASIL |2X TWD",
    "connect": "104.234.224.237:29055",
    "request": "104.234.224.237:29055",
    "map": "Washington+",
    "gamemode": "(SEASON-47) TPA・HOME・KIT・RANK",
    "version": "3.26.2.2",
    "numplayers": 2,
    "maxplayers": 52,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "BR",
    "status": true,
    "votes": 0,
    "points": 35,
    "add_date": 1754956745,
    "last_update": 1776814837,
    "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": 45,
    "language": "pt",
    "parked": false,
    "app": {
      "id": 48,
      "steam_id": 304930,
      "name": "Unturned",
      "url": "unturned"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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