JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11501828
json
{
  "response": {
    "fps": 41,
    "fps_avg": 39,
    "entities_count": 100406,
    "world_seed": 529045968,
    "world_size": 4000,
    "steam_id": "90286428941024273",
    "domain": null,
    "id": 11501828,
    "ip": "51.68.222.176",
    "port": 23515,
    "query": 23517,
    "color": 0,
    "city": "Roubaix",
    "description": "![AshRust.NET 3x Monthly | Max 5 | Qol/Loot+ | 50% Upkeep EU](https://www.dropbox.com/scl/fi/s6c5yw3tcen606pyygspa/d1.2.png?rlkey=fih258k5rwfp1lz05h2ncf45e&st=0nu6jesg&dl=1)\nWelcome to AshRust!!! We try out best to offer the best gaming experience for our players. Servers are runing on high-performance servers for a better aming experience! \r\n\r\n- 3x Gather Rates \r\n- 3x Smelt \r\n- 3x Loot \r\n- Starter Kits \r\n- Team Shared BP \r\n- Long-Day & Short-Night \r\n- Team Max: 5 \r\n- BP Wipe: Monthly \r\n- MAP Wipe: Monthly \r\n- Customized Anti-Cheat \r\n- Active-non-playing Admins \r\n \r\nRules: \r\n<1> No spamming in chat \r\n<2> No hacking / scripting  \r\n<3> No Rust gamebanned alt-accounts  \r\n \r\nJOIN DISCORD↓↓",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780206833,
    "last_online": 1780264228,
    "icon": null,
    "name": "AshRust.NET 3x Monthly | Max 5 | Qol/Loot+ | 50% Upkeep EU",
    "connect": "51.68.222.176:23515",
    "request": "51.68.222.176:23517",
    "map": "Wiped 24 Days ago",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 5,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1779207181,
    "last_update": 1780264228,
    "banned": false,
    "wipe": 1778179863,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1729,
    "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/11501828");
$data = json_decode($json, true);
var_dump($data);