Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/5941813
json
{
  "response": {
    "fps": 102,
    "fps_avg": 103,
    "entities_count": 56106,
    "world_seed": 1806119486,
    "world_size": 2500,
    "steam_id": "90285191114298376",
    "domain": null,
    "id": 5941813,
    "ip": "37.230.137.162",
    "port": 20550,
    "query": 20551,
    "color": 0,
    "city": "Moscow",
    "description": "![#1 HyperRust |X5|NoLimit|](https://img.alkad.org/images/2016/09/07/52c.png)\n🌟 HYPERRUST - ТВОЙ ПУТЬ К УСПЕХУ!\r\n\r\n• Модовый сервер с быстрым развитием и рейтами х5\r\n• Кастомная карта 2700\r\n• Нет лимита в команде\r\n\r\n• BattlePass - система наград и достижений\r\n• ShipWreck - битвы за лут на кораблекрушениях\r\n• aQuarry - автоматическая добыча ресурсов\r\n\r\n• Вайп по пятницам в 16:00 по МСК\r\n• Перезагрузка сервера каждый день в 05:00 по МСК\r\n\r\ndiscord.gg/hyperrust",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777521798,
    "score": 5,
    "last_online": 1777659021,
    "icon": null,
    "name": "NightRust [x1000000, Battlefield, AimTrain]",
    "connect": "37.230.137.162:20550",
    "request": "37.230.137.162:20551",
    "map": "NIGHTRUST MAP",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 13,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1726346778,
    "last_update": 1777659021,
    "banned": false,
    "wipe": 1775182356,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1432,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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