JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11501314
json
{
  "response": {
    "fps": 226,
    "fps_avg": 222,
    "entities_count": 70143,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": "90286603849517062",
    "domain": null,
    "id": 11501314,
    "ip": "82.165.143.144",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Paris",
    "description": "Welcome to PureRust\r\nVanilla+ Rust with fair gameplay and an active team\r\n\r\nWhat we stand for:\r\nActive and fair admins\r\nNo pay-to-win – skill always matters\r\n Clean and friendly community\r\n Balanced Vanilla+ experience\r\n\r\nServer features:\r\nVanilla Rust with some QOL changes \r\nFast and stable performance\r\nRegular wipes\r\nActive moderation and support\r\nCommunity-driven decisions\r\n\r\nJoin us and enjoy Rust with the best QOL changes out there!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470420,
    "last_online": 1780606236,
    "icon": null,
    "name": "[EU] PureRust.org | Vanilla+ | BiWeekly",
    "connect": "82.165.143.144:28015",
    "request": "82.165.143.144:28016",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207170,
    "last_update": 1780606236,
    "banned": false,
    "wipe": 1780595605,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4576,
    "language": "fr",
    "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/11501314");
$data = json_decode($json, true);
var_dump($data);