JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11725658
json
{
  "response": {
    "fps": 212,
    "fps_avg": 207,
    "entities_count": 44420,
    "world_seed": 1693865060,
    "world_size": 3000,
    "steam_id": "90286471695852552",
    "domain": null,
    "id": 11725658,
    "ip": "157.85.91.107",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Dallas",
    "description": "![[US] Sunday.gg | Solo / Duo Only | 100 % Vanilla | Beg & Vet Fr](https://lens.usercontent.google.com/banana?agsi=CmdnbG9iYWw6OjAwMDA1NWNmZWM3MDAyNmQ6MDAwMDAwZWI6MTplNmY2OTYyMDI1OGIwM2VjOjAwMDA1NWNmZWM3MDAyNmQ6MDAwMDAzMGUwYjkwMzM2ODowMDA2NTMyYmUyYmQxZThmEAIYAQ==)\nWELCOME TO Sunday.gg\r\n✦ RULES ✦\r\n1. Max Team Size: 2  player max in a base/roaming. No alliances.\r\n2. No cheating scripting or game breaking exploits.\r\n3. Be respectful in chat. No racism or toxic hate speech.\r\n✦ SERVER INFO ✦\r\n• Map Size: 3000 (for 75 pop server)\r\n• Wipes: Every Sunday  at 12 PM CST\r\n• Blueprints: Wiped bi-weekly\r\nServer discord and website inc",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780388556,
    "last_online": 1780549230,
    "icon": null,
    "name": "[US] Sunday.gg | Solo / Duo Only | 100 % Vanilla | Beg & Vet Fr",
    "connect": "157.85.91.107:28015",
    "request": "157.85.91.107:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780388556,
    "last_update": 1780549230,
    "banned": false,
    "wipe": 1780268732,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6091,
    "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/11725658");
$data = json_decode($json, true);
var_dump($data);