JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10110963
json
{
  "response": {
    "fps": 159,
    "fps_avg": 160,
    "entities_count": 92719,
    "world_seed": 1672643452,
    "world_size": 3984,
    "steam_id": "90286739278352399",
    "domain": null,
    "id": 10110963,
    "ip": "195.201.59.232",
    "port": 28015,
    "query": 28082,
    "project_id": null,
    "color": 0,
    "city": "Falkenstein",
    "description": "![GLOFT | True Vanilla | Monthly | EU](https://gloft.lol/png/2.jpg)\nGLOFT - TRUE VANILLA\r\n Region: EU\r\n Wipes: Monthly (Map + BP)\r\n Team Limit: Solo / Duo / Trio\r\n Map Size: 3500 - 5000\r\n No kits | No mods | No pay-to-win\r\n Active Admins | Anti-Cheat | Fair Rust\r\n Join our Discord: https://discord.gg/YSsbSpc6",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596270,
    "last_online": 1780923032,
    "icon": null,
    "name": "GLOFT | True Vanilla | Monthly | EU",
    "connect": "195.201.59.232:28015",
    "request": "195.201.59.232:28082",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 2,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1755619614,
    "last_update": 1780923032,
    "banned": false,
    "wipe": 1780596550,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3730,
    "language": "de",
    "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/10110963");
$data = json_decode($json, true);
var_dump($data);