JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10454690
json
{
  "response": {
    "steam_id": "90284338272004121",
    "domain": null,
    "id": 10454690,
    "ip": "37.230.137.115",
    "port": 2222,
    "query": 2222,
    "color": 3,
    "city": "Moscow",
    "description": "[{\"id\":\"blchG1bPFY\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер, который делает основной акцент на геймплей, у нас нет ничего лишнего: рекламы на весь экран, море аниме скинов и тд.\\nНаш сайт: CSBORN.RU\"}}]",
    "game": 240,
    "owner": 181415,
    "boosts": 1,
    "last_offline": 1775048537,
    "score": 0,
    "last_online": 1776167409,
    "icon": null,
    "name": "[V93] • CYBERPUNK • CS:GO MOD • [CSBORN.RU]",
    "connect": "37.230.137.115:2222",
    "request": "37.230.137.115:2222",
    "map": "de_mirage_csgo_cpk5",
    "gamemode": "█████ [СКИНЫ CS:GO] █████",
    "version": "9540945",
    "numplayers": 8,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 1,
    "points": 142,
    "add_date": 1760088078,
    "last_update": 1776167409,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 5,
      "steam_id": 240,
      "name": "Counter-Strike: Source",
      "url": "counter-strike-source"
    },
    "server_owner": {
      "username": "id_rau",
      "avatar": "no.jpg",
      "last_online": 1775406269
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10454690");
$data = json_decode($json, true);
var_dump($data);