JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11607089
json
{
  "response": {
    "fps": 106,
    "fps_avg": 104,
    "entities_count": 102253,
    "world_seed": 990461182,
    "world_size": 4250,
    "steam_id": "90286604398204938",
    "domain": null,
    "id": 11607089,
    "ip": "216.245.176.211",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Chicago",
    "description": "![[US] Astro Gators Galley - PVE/PVP - Noob Friendly](https://i.imgur.com/lMblDEz.png)\nWelcome to our laidback Rust experience a balanced mix of survival, progression, and PvP. Level up your character, complete quests, and test your skills in dedicated PvP zones while still enjoying a chill overall atmosphere. Take part in exciting survival events, build your base, and play at your own pace. Active, fair admins keep things running smooth without killing the vibe. Whether you're here to grind, raid, fight, or just hang out, this server is built for a fun and relaxed community experience.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596862,
    "last_online": 1780633224,
    "icon": null,
    "name": "[US] Astro Gators Galley - PVE/PVP - Noob Friendly",
    "connect": "216.245.176.211:28015",
    "request": "216.245.176.211:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 4,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 64,
    "add_date": 1779915494,
    "last_update": 1780633224,
    "banned": false,
    "wipe": 1780597089,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 979,
    "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/11607089");
$data = json_decode($json, true);
var_dump($data);