JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/7167429
json
{
  "response": {
    "steam_id": "90284385832242183",
    "domain": null,
    "id": 7167429,
    "ip": "23.111.240.110",
    "port": 23015,
    "query": 23017,
    "color": 0,
    "city": "Amsterdam",
    "description": null,
    "game": 290080,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776206515,
    "score": 0,
    "last_online": 1776219619,
    "icon": null,
    "name": "[EU/US] The New Land [PVE]",
    "connect": "23.111.240.110:23015",
    "request": "23.111.240.110:23017",
    "map": null,
    "gamemode": "Life is Feudal: Your Own",
    "version": "yo_1.4.4.5",
    "numplayers": 1,
    "maxplayers": 32,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 35,
    "add_date": 1736265273,
    "last_update": 1776219619,
    "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": 23,
    "language": "nl",
    "parked": false,
    "app": {
      "id": 85,
      "steam_id": 290080,
      "name": "Life is Feudal: Your Own",
      "url": "life-is-feudal-your-own"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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