JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11511444
json
{
  "response": {
    "fps": 55,
    "fps_avg": 53,
    "entities_count": 184391,
    "world_seed": 8675,
    "world_size": 4300,
    "steam_id": "90286633250728972",
    "domain": null,
    "id": 11511444,
    "ip": "83.223.203.225",
    "port": 28500,
    "query": 28515,
    "project_id": null,
    "color": 0,
    "city": "Reston",
    "description": "![Great Froggy Swamp Gaming Rust Server](https://www.g-portal.us/css/customer/img/logo.jpg)\nWelcome to our server hosted by g-portal.us Please be respectful of other playersPlease be respectful of other players No racism or hateful speech Red X on bases means no raiding that base (excluded in PvP area) Northern half of map is PvE only Southern half of map is open to PvP Northern half of map is grid 14 and above and southerns half of map is grid 15 and below Have fun and be respectful to other players.If you do not want to participate in PvP please put a red X on your base! More",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780664666,
    "last_online": 1780684836,
    "icon": null,
    "name": "Great Froggy Swamp Gaming Rust Server",
    "connect": "83.223.203.225:28500",
    "request": "83.223.203.225:28515",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 125,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353848,
    "last_update": 1780684836,
    "banned": false,
    "wipe": 1780612737,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5131,
    "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/11511444");
$data = json_decode($json, true);
var_dump($data);