JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11544179
json
{
  "response": {
    "steam_id": "90286334156188688",
    "domain": null,
    "id": 11544179,
    "ip": "64.20.41.82",
    "port": 9988,
    "query": 9789,
    "color": 0,
    "city": "Secaucus",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780585420,
    "last_online": 1779999786,
    "icon": null,
    "name": "Birb Club",
    "connect": "64.20.41.82:9988",
    "request": "64.20.41.82:9789",
    "map": "VRisingWorld",
    "gamemode": "8e2075a7-8f2a-4489-a505-3db3ed3fbe22",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779355516,
    "last_update": 1780585420,
    "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": 4214,
    "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/11544179");
$data = json_decode($json, true);
var_dump($data);