JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11004833
json
{
  "response": {
    "modded": true,
    "fps": 169,
    "fps_avg": 175,
    "entities_count": 78804,
    "world_seed": 1042730406,
    "world_size": 4250,
    "steam_id": "90284387152791573",
    "domain": null,
    "id": 11004833,
    "ip": "195.18.27.112",
    "port": 35100,
    "query": 35110,
    "color": 0,
    "city": "Moscow",
    "description": "![MONDAY X2 | РОССИЯ | Для нoвичкoв 2x](https://s.ggrust.ru/img/mond.jpg)\nДобро пожаловать на классический сервер EZRust! \r\n\r\n• Добыча и стаки ресурсов х2\r\n• Без ограничений на игроков в команде\r\n• Вайп каждую среду в 16:00 МСК\r\n• Переработчики и станции дронов в сейв зонах\r\n• Потребление ресурсов шкафом снижено на 50%\r\n• Классика без телепортов и модов\r\n• Активная администрация 18+\r\n\r\nНаш сайт: EZRust.ru\r\nНаш VK: vk.com/ez.rust\r\nНаш Discord: https://discord.gg/jsXsSEX7rv",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776222113,
    "score": 0,
    "last_online": 1776295216,
    "icon": null,
    "name": "MONDAY X2 | РОССИЯ | Для нoвичкoв 2x",
    "connect": "195.18.27.112:35100",
    "request": "195.18.27.112:35110",
    "map": "Вайп был 2д назад",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1769938990,
    "last_update": 1776295216,
    "banned": false,
    "wipe": 1776084933,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4579,
    "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/11004833");
$data = json_decode($json, true);
var_dump($data);