JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11800818
json
{
  "response": {
    "fps": 208,
    "fps_avg": 199,
    "entities_count": 114309,
    "world_seed": 233248750,
    "world_size": 4500,
    "steam_id": "90287039439522825",
    "domain": null,
    "id": 11800818,
    "ip": "5.226.142.55",
    "port": 28080,
    "query": 28015,
    "project_id": null,
    "color": 0,
    "city": "City of London",
    "description": "![FR Atlantis PvE PvP](https://i.goopics.net/P9gDO.jpg)\nBienvenue,\r\n I.INFO :\r\n 1)SERVEUR :\r\nPVE-PvP/only FR, Decay désactivé, Légèrement moddé, Team max 4 joueurs\r\n2)ZONES :\r\nPVE : Sur une île\r\nPVP : Le reste de la carte \r\nII.REGLES :\r\nVoir le règlement en jeux en tapant dans le chat global :/info puis aller sur onglet règlement,\r\n Bon jeux.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1781463027,
    "last_online": 1781560830,
    "icon": null,
    "name": "FR Atlantis PvE PvP",
    "connect": "5.226.142.55:28080",
    "request": "5.226.142.55:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1781463027,
    "last_update": 1781560830,
    "banned": false,
    "wipe": 1781426914,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6239,
    "language": "en",
    "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/11800818");
$data = json_decode($json, true);
var_dump($data);