JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/7299177
json
{
  "response": {
    "fps": 176,
    "fps_avg": 170,
    "entities_count": 286226,
    "world_seed": 371635960,
    "world_size": 5000,
    "steam_id": "90284793826406414",
    "domain": null,
    "id": 7299177,
    "ip": "95.217.43.96",
    "port": 35007,
    "query": 35009,
    "color": 0,
    "city": "Helsinki",
    "description": "![Hosted by XLGAMES.PRO](https://xlgames.pro/media/img/rust_logo_xlgames.png)\nХостинг XLGAMES.PRO\r\n Арендуй свой сервер с защитой от DDoS атак:\r\n > Rust\r\n > DayZ\r\n > Soulmask\r\n > Enshrouded\r\n > Conan Exiles\r\n > и многие другие.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776827597,
    "score": 0,
    "last_online": 1776839420,
    "icon": null,
    "name": "LFS - CINEMATIC MAIN",
    "connect": "95.217.43.96:35007",
    "request": "95.217.43.96:35009",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 352,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1736775170,
    "last_update": 1776839420,
    "banned": false,
    "wipe": 1775152260,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2957,
    "language": "fi",
    "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/7299177");
$data = json_decode($json, true);
var_dump($data);