JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10896432
json
{
  "response": {
    "fps": 81,
    "fps_avg": 77,
    "entities_count": 63099,
    "world_seed": 2141783039,
    "world_size": 3500,
    "steam_id": "90285650368668674",
    "domain": null,
    "id": 10896432,
    "ip": "138.97.217.136",
    "port": 28019,
    "query": 28021,
    "color": 0,
    "city": "Dourados",
    "description": "![[BR/LATAN] ILHA DO CLT SOLO/DUO WIPE 07/05](https://image.myrustserver.com/logo/Kamikaze_694845626970f.png)\n- WIPE QUINZENAL ULTIMO WIPE 07/05 PROXIMO 22/05\r\n- MODO DE JOGO VANILLA\r\n- JOGADORES POR TIME MAX 2\r\n- MAPA 3500\r\n- DECAY 50% MAIS LENTO\r\n- HORARIOS PARA RAID\r\n- NOITES CURTAS\r\n- BP's COMPARTILHADA POR TIME\r\n- MODO VANILLA SOLO/DUO\r\n- ADM ATIVO\r\n- CAIXA HACKEAVEIS 10 MINUTOS\r\n- VIPS (COM SKIN E VEICULOS) \r\n- SORTEIOS NO DISCORD",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778266384,
    "score": 0,
    "last_online": 1778615423,
    "icon": null,
    "name": "[BR/LATAN] ILHA DO CLT SOLO/DUO WIPE 07/05",
    "connect": "138.97.217.136:28019",
    "request": "138.97.217.136:28021",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "BR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1768383826,
    "last_update": 1778615423,
    "banned": false,
    "wipe": 1778182714,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4079,
    "language": "pt",
    "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/10896432");
$data = json_decode($json, true);
var_dump($data);