JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/8643971
json
{
  "response": {
    "fps": 42,
    "fps_avg": 53,
    "entities_count": 172828,
    "world_seed": 1323338278,
    "world_size": 4300,
    "steam_id": 90286714769822720,
    "domain": null,
    "id": 8643971,
    "ip": "156.236.84.11",
    "port": 28090,
    "query": 28091,
    "project_id": null,
    "color": 0,
    "city": "Dallas",
    "description": "![Old Dad's 2X Solo Only 2.0](https://imgur.com/EsR97Pi)\nWelcome to Old Dad's 2x Solo only 2.0   \r\n A Rust 2X Solo server, designed for a balanced and rewarding gameplay experience. Heres what makes Old Dad's 2X stand out:   \r\n -2X gather rate: Collect resources twice as fast, allowing you to build and progress quickly without losing the challenge or survival.   \r\n -Enhanced loot tables: Enjoy better loot drops that strike a perfect balance between quality and fairness. Progress faster without feeling overpowered.   \r\n -Offline raid protection: Protect your hard-earned base from offline raids with our advanced system. Focus on engaging in fair PvP and strategic gameplay without the frustration of waking up to a wiped base.   \r\n -Solo friendly: Our server is tailored for solo players, ensuring a level playing field for the solo player. No zergs, no overwhelming clans – Just pure, fair competition.   \r\n -Community Focused: Join a friendly and competitive community where skill, strategy and fun take center stage. Whether you’re a veteran Rust player or just starting out, this server is the perfect mix of challenge and convenience. Build, raid, and survive like never before.   \r\n Join Now!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780838061,
    "last_online": 1780919425,
    "icon": null,
    "name": "Old Dad's 2X Solo Only 2.0",
    "connect": "156.236.84.11:28090",
    "request": "156.236.84.11:28091",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 4,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1745253935,
    "last_update": 1780919425,
    "banned": false,
    "wipe": 1780596660,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1302,
    "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/8643971");
$data = json_decode($json, true);
var_dump($data);