JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/6761839
json
{
  "response": {
    "steam_id": "85568392932830269",
    "domain": null,
    "id": 6761839,
    "ip": "45.142.115.53",
    "port": 27115,
    "query": 27115,
    "color": 0,
    "city": "Offenbach",
    "description": null,
    "game": 222880,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776361424,
    "score": 0,
    "last_online": 1776370265,
    "icon": null,
    "name": "#[EU].::.My Gaming Edge 0/48|[WORKSHOP MODS][STATS]",
    "connect": "45.142.115.53:27115",
    "request": "45.142.115.53:27115",
    "map": "aim_shootout_a3",
    "gamemode": "Insurgency",
    "version": "2.4.2.4",
    "numplayers": 0,
    "maxplayers": 48,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1732712793,
    "last_update": 1776370265,
    "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": 66,
    "language": "de",
    "parked": false,
    "app": {
      "id": 13,
      "steam_id": 222880,
      "name": "Insurgency",
      "url": "insurgency"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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