JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11677393
json
{
  "response": {
    "fps": 58,
    "fps_avg": 57,
    "entities_count": 145713,
    "world_seed": 12191,
    "world_size": 5000,
    "steam_id": "90286577401938968",
    "domain": null,
    "id": 11677393,
    "ip": "66.51.96.65",
    "port": 28070,
    "query": 28071,
    "color": 0,
    "city": "Ashburn",
    "description": "Hosted By Pine Hosting \r\n - 24/7 Support\r\n - Easy Config Editor\r\n - Powerful Systems\r\n\r\nHalf Decay Time/ Upkeep",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780497839,
    "last_online": 1780549233,
    "icon": null,
    "name": "Tiki Tiki Tiki",
    "connect": "66.51.96.65:28070",
    "request": "66.51.96.65:28071",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780216206,
    "last_update": 1780549233,
    "banned": false,
    "wipe": 1780153577,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5912,
    "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/11677393");
$data = json_decode($json, true);
var_dump($data);