Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10652902
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 43960,
    "world_seed": 377389542,
    "world_size": 2800,
    "steam_id": "90284752587131918",
    "domain": null,
    "id": 10652902,
    "ip": "45.235.98.249",
    "port": 27235,
    "query": 27236,
    "color": 0,
    "city": "Córdoba",
    "description": "![[LATAM]NanoRust|Solo/Duo|WIPE 21.04 16:30|](https://i.postimg.cc/dVqzX7zk/imagen-lista-1-1-2.png)\nBienvenido a NanoRust\r\n\r\nREGLAS:\r\n- No hacking and script\r\n\r\nINFO DEL SERVIDOR:\r\n- TEAM LIMIT: Max 2 (Solo/Duo)\r\n- MAPA: Procedural - Size 2800/3200\r\n- ADMINS: Online\r\n\r\nFECHAS DE WIPE:\r\n- FULL WIPE: Viernes 16:30 GMT-3\r\n- MAP WIPE: Martes 16:30 GMT-3\r\n\r\nUnete a nuestro Discord! https://discord.gg/B32aDvffDm",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776799400,
    "score": 0,
    "last_online": 1776849018,
    "icon": null,
    "name": "[LATAM]NanoRust|Solo/Duo|WIPE 21.04 16:30|",
    "connect": "45.235.98.249:27235",
    "request": "45.235.98.249:27236",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 2,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AR",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1763724406,
    "last_update": 1776849018,
    "banned": false,
    "wipe": 1776799547,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1657,
    "language": "es",
    "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/10652902");
$data = json_decode($json, true);
var_dump($data);