JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/9905727
json
{
  "response": {
    "fps": 173,
    "fps_avg": 174,
    "entities_count": 95177,
    "world_seed": 50505,
    "world_size": 3800,
    "steam_id": "90285647194551306",
    "domain": null,
    "id": 9905727,
    "ip": "15.235.181.131",
    "port": 60412,
    "query": 60414,
    "color": 0,
    "city": "Singapore",
    "description": "![[Rust-Pakistan] 2x | Weekly | Asia Low Ping](https://i.postimg.cc/WzGk5cHZ/Rustyyyyyyyyy.png)\nWelcome to Rust-Pakistan — a balanced 2x server built for active weekly gameplay across Asia! 🇵🇰\r\n\r\n🛠 Server Features:\r\n• 2x Gather Rates\r\n• Reduced Sulfur for balance\r\n• Weekly Map Wipes — Every Thursday at 23:00 GMT\r\n• Blueprint Wipe: Monthly (First Thursday at 23:00 GMT)\r\n• Singapore Hosted | Asia Low Ping\r\n• Powered by Server-Side Anti-Cheat 🔒\r\n\r\n📌 Rules:\r\n• No Cheating, Scripting, or Exploiting\r\n• Respect All Players — No Racism, No Toxicity\r\n• English or Urdu in Global Chat\r\n• No Team Limit (Subject to future updates)\r\n\r\n🗺 Wipe Schedule:\r\n• Map: Every Thursday at 23:00 GMT\r\n• Blueprints: Monthly (First Thursday at 23:00 GMT)\r\n\r\n📢 Discord: Coming Soon!\r\n\r\nThis server is now 2x (previously 5x). Check /info for commands, wipes, and server details.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778558581,
    "score": 0,
    "last_online": 1778588418,
    "icon": null,
    "name": "[Rust-Pakistan] 2x | Weekly | Asia Low Ping",
    "connect": "15.235.181.131:60412",
    "request": "15.235.181.131:60414",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 3,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SG",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1753909935,
    "last_update": 1778588418,
    "banned": false,
    "wipe": 1778213129,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2112,
    "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/9905727");
$data = json_decode($json, true);
var_dump($data);