JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/8528619
json
{
  "response": {
    "fps": 191,
    "fps_avg": 202,
    "entities_count": 51889,
    "world_seed": 86734,
    "world_size": 3000,
    "steam_id": "90284742533544965",
    "domain": null,
    "id": 8528619,
    "ip": "191.96.229.124",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Petah Tikva",
    "description": "![Rusty.co.il | לארשי | 16/04 (יעובש)](https://rusty.co.il/cover.jpg)\nShalom!\r\nMap - Weekly at Thursday 17:00 (IL Time)\r\nBPs - Every force map wipe | Next @ May's force wipe\r\n\r\nWebsite: rusty.co.il\r\nDiscord: discord.rusty.co.il\r\n→ Map size: 3000\r\n→ Map seed: 86734\r\n→ Team limit: 4\r\n\r\nRules:\r\n- No hacking / scripting\r\n- No intentional bug abuse\r\n- No EAC / FP banned alts\r\n- No ban evading\r\n- No racism\r\n\r\nEnjoy your stay!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776249713,
    "score": 0,
    "last_online": 1776853824,
    "icon": null,
    "name": "Rusty.co.il | לארשי | 16/04 (יעובש)",
    "connect": "191.96.229.124:28015",
    "request": "191.96.229.124:28017",
    "map": "www.Rusty.co.il",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "IL",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1744458107,
    "last_update": 1776853824,
    "banned": false,
    "wipe": 1776349736,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3280,
    "language": "he",
    "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/8528619");
$data = json_decode($json, true);
var_dump($data);