JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11252505
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11252505,
    "ip": "93.115.101.45",
    "port": 7777,
    "query": 7777,
    "color": 0,
    "city": "Scrioaştea",
    "description": null,
    "game": 9000035,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776107513,
    "score": 0,
    "last_online": 1776832838,
    "icon": null,
    "name": "crimson.ro",
    "connect": "93.115.101.45:7777",
    "request": "93.115.101.45:7777",
    "map": "San Andreas",
    "gamemode": "crimson, 10 Apr 2026 (19:54)",
    "version": "0.3.7-R2",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": null,
    "private": true,
    "country": "RO",
    "status": true,
    "votes": 0,
    "points": 31,
    "add_date": 1774086562,
    "last_update": 1776832838,
    "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": 213,
    "language": "ro",
    "parked": false,
    "app": {
      "id": 168,
      "steam_id": 9000035,
      "name": "Samp",
      "url": "samp"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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