JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11623945
json
{
  "response": {
    "steam_id": "90286237536701446",
    "domain": null,
    "id": 11623945,
    "ip": "45.85.250.96",
    "port": 30700,
    "query": 30715,
    "color": 0,
    "city": "Portsmouth",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780575220,
    "last_online": 1780007528,
    "icon": null,
    "name": "Ash to Ashes, Powder to Jake & James",
    "connect": "45.85.250.96:30700",
    "request": "45.85.250.96:30715",
    "map": "VRisingWorld",
    "gamemode": "32e442d5-5238-40fe-bdbe-dfa0885024bb",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779916127,
    "last_update": 1780575220,
    "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": 4395,
    "language": "en",
    "parked": false,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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