JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11810490
json
{
  "response": {
    "oxide": true,
    "modded": true,
    "fps": 172,
    "fps_avg": 173,
    "entities_count": 42259,
    "world_seed": 1897507005,
    "world_size": 4000,
    "steam_id": "90287017041346563",
    "domain": null,
    "id": 11810490,
    "ip": "217.60.245.104",
    "port": 20036,
    "query": 20036,
    "project_id": null,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![Galaxy Rust | X10 | KITS | ANTI-CHEAT](https://cdn.discordapp.com/attachments/1498699466318942288/1507095208758874202/Galaxy_Rust_.png?ex=6a1e7f0a&is=6a1d2d8a&hm=c5b0e9053082a1c9cf90807061ab0c46e1e5322fccbcb050bf55be2c0a1b161f&)\n«Добро пожаловать на Galaxy Rust — сервер, где каждый игрок — часть живой вселенной. Объединяйся в кланы, создавай легенды, пиши свою историю в пыли руин и свете далёких звёзд.»",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1781465078,
    "last_online": 1781497826,
    "icon": null,
    "name": "Galaxy Rust | X10 | KITS | ANTI-CHEAT",
    "connect": "217.60.245.104:20036",
    "request": "217.60.245.104:20036",
    "map": "Barren",
    "gamemode": "Rust: Survival Mode",
    "version": "2271",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1781465078,
    "last_update": 1781497826,
    "banned": false,
    "wipe": 1781084175,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6229,
    "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/11810490");
$data = json_decode($json, true);
var_dump($data);