Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/763396
json
{
  "response": {
    "fps": 50,
    "fps_avg": 46,
    "entities_count": 94513,
    "world_seed": 72357419,
    "world_size": 3850,
    "steam_id": 90286448941975580,
    "domain": null,
    "id": 763396,
    "ip": "90.188.4.171",
    "port": 23007,
    "query": 23005,
    "color": 0,
    "city": "Barnaul",
    "description": "![РОССИЙСКИЙ](https://i.imgur.com/MTWkmoR.jpg)\n●Медленное гниение                                                                            \r\n●Защита от рейдов ночью 0-8 мск                                                                            \r\n●X2 добыча на ресурсы                                                                            \r\n●3 стартовых набора                                                     \r\n●Печки в 2 раза быстрее                                                               \r\n●Авторемонт построек                                                              \r\n●Уведомления о рейдах                                                                \r\n●Моментальный крафт                                                                                           \r\n●Телепорт к игрокам и домой                                                                                \r\n●Ремув, апгрейд и трейды                                                          \r\n●Стаки до 100 тысяч на ресурсы",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780601070,
    "last_online": 1780586432,
    "icon": null,
    "name": "РОССИЙСКИЙ",
    "connect": "90.188.4.171:23007",
    "request": "90.188.4.171:23005",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1680790031,
    "last_update": 1780601070,
    "banned": false,
    "wipe": 1779265416,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9590,
    "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/763396");
$data = json_decode($json, true);
var_dump($data);