Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11744484
json
{
  "response": {
    "oxide": true,
    "modded": true,
    "fps": 250,
    "fps_avg": 246,
    "entities_count": 7664,
    "world_seed": 67676,
    "world_size": 1967,
    "steam_id": "90286568179389453",
    "domain": null,
    "id": 11744484,
    "ip": "90.128.30.247",
    "port": 28015,
    "query": 28015,
    "color": 0,
    "city": "Riga",
    "description": "Welcome to Pre HDRP vanilla Rust server. \r\n\r\nRules:\r\nIf you think it's wrong don't do it.\r\n\r\nDiscord link:\r\nhttps://discord.com/invite/sQbZHPQ7vB\r\n\r\nIf it is in your power to share the discord link with players who you think might be interested in playing this version of Rust, please do so, 'aka' help each other.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780568605,
    "last_online": 1780524628,
    "icon": null,
    "name": "Rustvival - Aim Train",
    "connect": "90.128.30.247:28015",
    "request": "90.128.30.247:28015",
    "map": "Procedural Map",
    "gamemode": "Rust: Survival Mode",
    "version": "2293",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "LV",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780518699,
    "last_update": 1780568605,
    "banned": false,
    "wipe": 1780514107,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13007,
    "language": "lv",
    "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/11744484");
$data = json_decode($json, true);
var_dump($data);