Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/758338
json
{
  "response": {
    "fps": 211,
    "fps_avg": 205,
    "entities_count": 69663,
    "world_seed": 1770484037,
    "world_size": 3500,
    "steam_id": "90286573840126984",
    "domain": null,
    "id": 758338,
    "ip": "195.210.170.61",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Liga",
    "description": "Рейты по добыче х5 Большие рюкзаки всем Стаки 50к bgrade строительство сразу в доски,камень,железо,мвк Голосование за пропуск ночи Игровой магазин Автосортировка в печах Рандомные скины Можно купить переработчик Трейды Приватные сообщения Ремув Дискорд се",
    "game": 252490,
    "owner": 29898,
    "boosts": 1,
    "last_offline": 1780173812,
    "last_online": 1780549818,
    "icon": null,
    "name": "Русский ПВЕ Раст Сервер X1-X6",
    "connect": "195.210.170.61:28015",
    "request": "195.210.170.61:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 90,
    "add_date": 1677864724,
    "last_update": 1780549818,
    "banned": false,
    "wipe": 1778186718,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 159,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "Nion_eto",
      "avatar": "no.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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