JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11492454
json
{
  "response": {
    "steam_id": "90285743649154075",
    "domain": "l4d2.fightcadeitalia.it",
    "id": 11492454,
    "ip": "95.110.133.131",
    "port": 27015,
    "query": null,
    "color": 0,
    "city": "Arezzo",
    "description": "[{\"id\":\"C6ddgU3M99\",\"type\":\"header\",\"data\":{\"text\":\"FightcadeItalia è una community che unisce la passione per il mondo videoludico passato e attuale.\",\"level\":1}},{\"id\":\"eCmzVZq-Hr\",\"type\":\"header\",\"data\":{\"text\":\"Sfide e Giochi Online, News & Guide, Real Hadware, Macchine FPGA, Emulazione, Arcade, Pinball, Tech.\",\"level\":3}},{\"id\":\"d1wyx6HZ0r\",\"type\":\"paragraph\",\"data\":{\"text\":\"Unisciti alla nostra Sala Giochi Hi-Score!\\nAperti 24h ore su 24!!!\\nVi aspettiamo su Discord!\\n\"}},{\"id\":\"dZm3Bwe0FN\",\"type\":\"header\",\"data\":{\"text\":\"-=[ I NOSTRI SOCIAL ]=-\",\"level\":3}},{\"id\":\"0AnZ81Mpbb\",\"type\":\"paragraph\",\"data\":{\"text\":\"Sito ufficiale: https://www.fightcadeitalia.it\\nServer Discord: https://discord.fightcadeitalia.it\\nSala Giochi Hi-Score: https://salagiochi.fightcadeitalia.it\"}}]",
    "game": 550,
    "owner": 194493,
    "boosts": 1,
    "last_offline": 1778761979,
    "score": 0,
    "last_online": 1778773215,
    "icon": null,
    "name": "[ITA] FightcadeItalia.it - L4D2 Coop Server",
    "connect": "l4d2.fightcadeitalia.it:27015",
    "request": null,
    "map": "c1m2_streets",
    "gamemode": "Left 4 Dead 2",
    "version": "2.2.4.3",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "IT",
    "status": true,
    "votes": 1,
    "points": 91,
    "add_date": 1778750838,
    "last_update": 1778773215,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": true,
    "position_game": 46,
    "language": "it",
    "parked": false,
    "app": {
      "id": 11,
      "steam_id": 550,
      "name": "Left 4 Dead 2",
      "url": "left-4-dead-2"
    },
    "server_owner": {
      "username": "thesupremacycabinet",
      "avatar": "f7b6686b-a5b6-440f-9703-763513a26054.png",
      "last_online": 1778773227
    },
    "mods": [],
    "disabled_modules": [
      "reviews"
    ]
  }
}

Codebeispiele

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