JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/3088996
json
{
  "response": {
    "fps": 104,
    "fps_avg": 114,
    "entities_count": 148265,
    "world_seed": 33,
    "world_size": 5000,
    "steam_id": "90286579240889347",
    "domain": null,
    "id": 3088996,
    "ip": "109.195.227.214",
    "port": 28025,
    "query": 28026,
    "color": 0,
    "city": "Rostov-on-Don",
    "description": "![Rust Planet|VANILLA +|WIPE 04.06](https://i.ibb.co/Ry3y6zQ/cover.jpg)\nWELCOME !! \r\n Vanilla + server, resourses stack - 5k - Sulfur mining -30% \r\n No CHEAT! Server use Artificial Intelligence Anti-cheat \r\n Max Team 3 players \r\n Discord discord.gg/MdtcjWqBjV \r\n No limit to sell trading plants farmers \r\n Server hardware I9 139000k/ RAM DDR5 64GB 5 600 mHz/ SSD Gen4 10 000 Mb/sec",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780542269,
    "last_online": 1780591829,
    "icon": null,
    "name": "Rust Planet|VANILLA +|WIPE 04.06",
    "connect": "109.195.227.214:28025",
    "request": "109.195.227.214:28026",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 12,
    "maxplayers": 500,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1708878696,
    "last_update": 1780591829,
    "banned": false,
    "wipe": 1778260644,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1642,
    "language": "ru",
    "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/3088996");
$data = json_decode($json, true);
var_dump($data);