Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/7468654
json
{
  "response": {
    "fps": 94,
    "fps_avg": 87,
    "entities_count": 114157,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286604034491409",
    "domain": null,
    "id": 7468654,
    "ip": "109.248.241.100",
    "port": 31400,
    "query": 31402,
    "color": 0,
    "city": "Naberezhnyye Chelny",
    "description": "![[RU] R16  ░▒▓ KAZAN | КАЗАНЬ ▓▒░  TATARSTAN](http://r16.ru/serverimage.jpg)\n[RU] R16  ░▒▓ KAZAN | КАЗАНЬ ▓▒░  TATARSTAN \r\n \r\n Играй на серверах R16 \r\n - Шкаф -50 от потребления. \r\n -Вайп раз в месяц \r\n Играй с нами ради веселья. \r\n Будь дружелюбным к новичкам в начале игры.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779898404,
    "last_online": 1780626033,
    "icon": null,
    "name": "[RU] R16  ░▒▓ KAZAN | КАЗАНЬ ▓▒░  TATARSTAN",
    "connect": "109.248.241.100:31400",
    "request": "109.248.241.100:31402",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 2,
    "maxplayers": 116,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1739234850,
    "last_update": 1780626033,
    "banned": false,
    "wipe": 1780595996,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2994,
    "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/7468654");
$data = json_decode($json, true);
var_dump($data);