Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11261310
json
{
  "response": {
    "fps": 56,
    "fps_avg": 55,
    "entities_count": 85590,
    "world_seed": 1337,
    "world_size": 3300,
    "steam_id": "90284789543685144",
    "domain": null,
    "id": 11261310,
    "ip": "181.214.221.29",
    "port": 28025,
    "query": 28026,
    "color": 0,
    "city": "São Paulo",
    "description": "![[LATAM] [BR] RUSTALIA X2 PVE | Wipe: 5d 20h](https://i.postimg.cc/pTxzc7bf/1024x512_(1).png)\nRUSTALIA-LATAM PVE x2 [BR]\r\nCaracterísticas Principales:\r\n⦿ No PURGA FULL PVE!\r\n⦿ Semanal cambio de mapa!\r\n⦿ VIP - MVP - TITAN\r\n⦿ Clans 16 Jugadores\r\n⦿ Kits\r\n⦿ Skill Tree 1 mes\r\n⦿ RP CADA MES\r\n⦿ Teleport: /TPR y /TPA\r\n⦿ 3 a 4 eventos por hora!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776680601,
    "score": 0,
    "last_online": 1776850218,
    "icon": null,
    "name": "[LATAM] [BR] RUSTALIA X2 PVE | Wipe: 5d 20h",
    "connect": "181.214.221.29:28025",
    "request": "181.214.221.29:28026",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "BR",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1774555233,
    "last_update": 1776850218,
    "banned": false,
    "wipe": 1776345393,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2000,
    "language": "pt",
    "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/11261310");
$data = json_decode($json, true);
var_dump($data);