JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10470381
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 48435,
    "world_seed": 84714968,
    "world_size": 4500,
    "steam_id": 90286410923841550,
    "domain": null,
    "id": 10470381,
    "ip": "85.172.39.140",
    "port": 15000,
    "query": 15002,
    "color": 0,
    "city": "Krasnodar",
    "description": "Добро пожаловать на классический сервер RustyRock\nНа сервере не требуются\nфрагменты чертежей для крафта верстаков!\nТак же имеются различные улучшения,\nне влияющие на основу классической игры\nНовый промокод\nна нашем сайте каждую неделю.\nWelcome to the classic RustyRock server\nThe server does not require:\nblueprint fragments for crafting workbenches!\nThere are also various improvements,\nwhich do not affect the basis of the classic game.\nNew promo code on our website every week.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780161217,
    "last_online": 1780164628,
    "icon": null,
    "name": "RustyRock#1",
    "connect": "85.172.39.140:15000",
    "request": "85.172.39.140:15002",
    "map": "Вайп через: 5d. 0h. д",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1760511012,
    "last_update": 1780164628,
    "banned": false,
    "wipe": 1779353564,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3924,
    "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/10470381");
$data = json_decode($json, true);
var_dump($data);