JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/180468
json
{
  "response": {
    "fps": 82,
    "fps_avg": 80,
    "entities_count": 117829,
    "world_seed": 54659653,
    "world_size": 4500,
    "steam_id": "90284493924819981",
    "domain": null,
    "id": 180468,
    "ip": "195.91.244.182",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Moscow",
    "description": "www.twitch.com/caeldree \r\n 4250 Procedural map, Biweekly wipe.\r\n    \r\nLAST WIPE: June 20 \r\nNEXT WIPE: June 27 \r\nBlueprints wipe every month. \r\nENJOY! gl hf",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776253915,
    "score": 5,
    "last_online": 1776421225,
    "icon": null,
    "name": "ИГРОМАНИЯ by Twitch\\Caeldree",
    "connect": "195.91.244.182:28015",
    "request": "195.91.244.182:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1553802890,
    "last_update": 1776421225,
    "banned": false,
    "wipe": 1776253822,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2463,
    "language": "ru",
    "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/180468");
$data = json_decode($json, true);
var_dump($data);