JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/10671110
json
{
  "response": {
    "steam_id": "90286604512676889",
    "domain": null,
    "id": 10671110,
    "ip": "51.68.160.200",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Limburg an der Lahn",
    "description": "![[ES/EU] WARLAND PVE  | MINI | RAIDS | RP| EVENTOS | 04/06](https://www.dropbox.com/scl/fi/ex13h5snxis5ghgdjrhux/PVE.png?rlkey=ozj0qqkfcgu14272al7i57zfc&dl=1)\nExplora Warland PVE y atraviesa un territorio creado para los aventureros incansables 🌑⚙️\r\n\r\n- Bases Raid: Levanta fortalezas que parecen susurrar leyendas mientras desafían cualquier asalto.\r\n- Habilidades Únicas: Evoluciona tu personaje con un sistema de skills hecho a medida.\r\n- Eventos Colosales: Entra en desafíos que sacuden el mapa y recompensan a los valientes.\r\n- Comunidad Amigable: Tanto veteranos curtidos como recién llegados encuentran su hogar aquí.\r\n- Soporte Constante: Moderadores atentos que mantienen el mundo de Warland vibrando sin interrupciones.\r\n\r\nEntra a warland.es y lánzate a un universo donde cada día cuenta una historia nueva. La aventura te llama. 🜂🏹",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780597471,
    "last_online": 1780615830,
    "icon": null,
    "name": "[ES/EU] WARLAND PVE  | MINI | RAIDS | RP| EVENTOS | 04/06",
    "connect": "51.68.160.200:28015",
    "request": "51.68.160.200:28016",
    "map": "Custom Map",
    "gamemode": "Rust",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1764579315,
    "last_update": 1780615830,
    "banned": false,
    "wipe": 1780597579,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2590,
    "language": "de",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Przykłady kodu

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