JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10706884
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10706884,
    "ip": "38.49.210.71",
    "port": 27017,
    "query": 27017,
    "color": 0,
    "city": "Montreal",
    "description": null,
    "game": 9000059,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776221471,
    "score": 0,
    "last_online": 1776195029,
    "icon": null,
    "name": null,
    "connect": null,
    "request": "38.49.210.71:27017",
    "map": null,
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 12,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "CA",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1765125057,
    "last_update": 1776221471,
    "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": 1,
    "language": "en",
    "parked": false,
    "app": {
      "id": 1665412,
      "steam_id": 9000059,
      "name": "Buzzy Bots",
      "url": "buzzy-bots"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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