JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11117945
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11117945,
    "ip": "59.138.141.70",
    "port": 15777,
    "query": 39025,
    "color": 0,
    "city": "Adachi",
    "description": null,
    "game": 2646460,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776031897,
    "score": 0,
    "last_online": 1775565033,
    "icon": null,
    "name": "0000 SantaSoulmaskServer 9999",
    "connect": "59.138.141.70:15777",
    "request": "59.138.141.70:39025",
    "map": "Level01_Main",
    "gamemode": "00",
    "version": null,
    "numplayers": 0,
    "maxplayers": 5,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "JP",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1770113243,
    "last_update": 1776031897,
    "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": 1653,
    "language": "ja",
    "parked": false,
    "app": {
      "id": 1625562,
      "steam_id": 2646460,
      "name": "Soulmask",
      "url": "soulmask"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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