JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/1683674
json
{
  "response": {
    "steam_id": "90284209615438876",
    "domain": null,
    "id": 1683674,
    "ip": "124.222.155.27",
    "port": 27961,
    "query": 27961,
    "color": 0,
    "city": "Shanghai",
    "description": "",
    "game": 282440,
    "owner": null,
    "boosts": 1,
    "last_offline": 1770153663,
    "score": null,
    "last_online": 1776256227,
    "icon": null,
    "name": "-=RedDoor.Duel.#2=-",
    "connect": "124.222.155.27:27961",
    "request": "124.222.155.27:27961",
    "map": "bloodrun",
    "gamemode": "Duel",
    "version": "1069 linux-x64 Jun  3 2016 20:53:50",
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1698946899,
    "last_update": 1776256227,
    "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": 75,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 138,
      "steam_id": 282440,
      "name": "Quake Live",
      "url": "quake-live"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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