JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11731539
json
{
  "response": {
    "modded": true,
    "fps": 15,
    "fps_avg": 15,
    "entities_count": 2029,
    "world_seed": 123244567,
    "world_size": 1000,
    "steam_id": "90286546343097368",
    "domain": null,
    "id": 11731539,
    "ip": "195.209.218.63",
    "port": 16000,
    "query": 16001,
    "color": 0,
    "city": "Moscow",
    "description": "• Без лагов и фризов + premium AntiCheat\n• Коптер на дорогах как раньше.\n• Стартовые киты - /kits\n• Система торговли - /trade\n• Моментальный крафт (insta craft)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780592004,
    "last_online": 1780471822,
    "icon": null,
    "name": "WARZILLA MAX 2|DUO [X5/X10|TP|KIT|SHOP|LOOT+|Copter]",
    "connect": "195.209.218.63:16000",
    "request": "195.209.218.63:16001",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780411264,
    "last_update": 1780592004,
    "banned": false,
    "wipe": 1780469494,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12927,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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