Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11744619
json
{
  "response": {
    "fps": 111,
    "fps_avg": 112,
    "entities_count": 113950,
    "world_seed": 1,
    "world_size": 4500,
    "steam_id": "90286582256797721",
    "domain": null,
    "id": 11744619,
    "ip": "45.146.81.201",
    "port": 28023,
    "query": 28022,
    "color": 0,
    "city": "Cotia",
    "description": "![BR Centro-Oeste | Vanilla Quad | Wipe Quinzenal](https://subtle-choux-900d94.netlify.app/raduinrustbanner.png)\nServidor brasileiro localizado no Brasil. Comunidade PT-BR.Vanilla BR. Limite 4 por time/base/raid/alianca.\r\nWipe quinzenal sexta 20h BRT.\r\nBP mensal. Sem admi",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780548867,
    "last_online": 1780555828,
    "icon": null,
    "name": "Mato Grosso Vanilla",
    "connect": "45.146.81.201:28023",
    "request": "45.146.81.201:28022",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "BR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780518716,
    "last_update": 1780555828,
    "banned": false,
    "wipe": 1780549183,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6060,
    "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/11744619");
$data = json_decode($json, true);
var_dump($data);