JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11660409
json
{
  "response": {
    "steam_id": "90286030105202701",
    "domain": null,
    "id": 11660409,
    "ip": "97.83.83.97",
    "port": 9876,
    "query": 9877,
    "color": 0,
    "city": "Hudsonville",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780347250,
    "last_online": 1780608092,
    "icon": null,
    "name": "FoC Community Server",
    "connect": "97.83.83.97:9876",
    "request": "97.83.83.97:9877",
    "map": "VRisingWorld",
    "gamemode": "e5b6e6f2-5694-4c3d-98cf-6c588edd8e64",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 12,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1780178459,
    "last_update": 1780608092,
    "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": 3336,
    "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/11660409");
$data = json_decode($json, true);
var_dump($data);