JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10661467
json
{
  "response": {
    "steam_id": "90286604262786071",
    "domain": null,
    "id": 10661467,
    "ip": "51.68.160.198",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Limburg an der Lahn",
    "description": "![ESP/EU | RustyCry x5 SOLO-DUO-TRIO-QUAD | WIPE 04/06](https://www.dropbox.com/scl/fi/8tbv45gouvupafi31bj7j/rustycry-x5-pro.png?rlkey=dhahz10h51acgpiwbip5emc9o&st=mbpcyxoi&dl=1)\n¡Descubre un mundo unico en RustyCry!\r\n\r\n➤ Latencia baja: Servidor en España.\r\n➤ Anti DDoS.\r\n➤ Max TEAM (4), offline & online.\r\n➤ No alianzas.\r\n➤ Cambio de equipo solo en WIPE (con condiciones).\r\n➤ Full Wipe: semanal (viernes 16:00 ESP).\r\n➤ Si hay force wipe el jueves, el wipe del viernes pasa al siguiente viernes.\r\n➤ Protección 24h: No raid durante el dia del WIPE.\r\n➤ Torretas: 24 torretas por TC.\r\n➤ Protección Offline: 50% con scrap.\r\n➤ x5 Recursos: Mas accion, menos recoleccion.\r\n➤ Mesa de trabajo en toda la base.\r\n➤ Tamaño de mapa: 3500.\r\n\r\n¡Unete a RustyCry y vive la mejor experiencia en Rust! La aventura te espera.\r\n\r\nDiscover a unique world in RustyCry!\r\n\r\n⮞ Low latency: Server located in Spain.\r\n⮞ Anti-DDoS protection.\r\n⮞ Max TEAM (4): Both offline & online.\r\n⮞ No alliances.\r\n⮞ Team change only during WIPE (with conditions).\r\n⮞ WIPE Schedule: Weekly (Fridays at 16:00 ESP).\r\n⮞ If there is a force wipe on Thursday, Friday wipe is moved to the next Friday.\r\n⮞ 24-hour protection: No raids on WIPE day.\r\n⮞ Turrets: 24 turrets per TC.\r\n⮞ Offline protection: 50% with scrap.\r\n⮞ x5 Resources: More action, less grinding.\r\n⮞ Workbench across the whole base.\r\n⮞ Map size: 3500.\r\n\r\nJoin RustyCry and experience the best adventure in Rust! Your journey awaits.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596863,
    "last_online": 1780636234,
    "icon": null,
    "name": "ESP/EU | RustyCry x5 SOLO-DUO-TRIO-QUAD | WIPE 04/06",
    "connect": "51.68.160.198:28015",
    "request": "51.68.160.198:28016",
    "map": "Custom Map",
    "gamemode": "Rust",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1764544745,
    "last_update": 1780636234,
    "banned": false,
    "wipe": 1780596982,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3519,
    "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/10661467");
$data = json_decode($json, true);
var_dump($data);