JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11677465
json
{
  "response": {
    "fps": 101,
    "fps_avg": 99,
    "entities_count": 194183,
    "world_seed": 548474,
    "world_size": 6000,
    "steam_id": 90286525964060690,
    "domain": null,
    "id": 11677465,
    "ip": "201.221.68.66",
    "port": 28015,
    "query": 27017,
    "color": 0,
    "city": "Chaguanas",
    "description": "![Caribbean Wipeout | Vanilla+ | LATAM | T&T](https://i.ibb.co/1Y2qBhFM/be7fb7eb-ff51-4839-8d9d-f9d1ddc0b386.png)\nWelcome to Caribbean Wipeout, a LATAM-friendly survival server hosted from Trinidad & Tobago. Expect a clean Vanilla+ experience with active moderation, fair play, smooth progression, and island-war energy from the first spawn to the final raid. Build your base, control monuments, make allies, start trouble, and survive the wipe. Region: Caribbean / LATAM Location: Trinidad & Tobago Style: Vanilla+ Mods: Oxide Community: English / Spanish friendly",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780216211,
    "last_online": 1780549230,
    "icon": null,
    "name": "Caribbean Wipeout | Vanilla+ | LATAM | T&T",
    "connect": "201.221.68.66:28015",
    "request": "201.221.68.66:27017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "TT",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780216211,
    "last_update": 1780549230,
    "banned": false,
    "wipe": 1778854758,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5936,
    "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/11677465");
$data = json_decode($json, true);
var_dump($data);