Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10896007
json
{
  "response": {
    "fps": 163,
    "fps_avg": 168,
    "entities_count": 86490,
    "world_seed": 1060555342,
    "world_size": 3750,
    "steam_id": "90285204212594695",
    "domain": null,
    "id": 10896007,
    "ip": "147.135.139.16",
    "port": 20510,
    "query": 20511,
    "color": 0,
    "city": "Roubaix",
    "description": "![#5 RUSTMAX BATTLEFIELD X1000 CLANS [EU]](https://img.rustmax.ru/i/9o0MJ3WF.png)\n* WELCOME TO RUSTMAX.RU \r\n - Vape every week on Thursdays at 22:00 Moscow time!  \r\n - Resources x1000 + Furnace speed x20 \r\n - All studies are open + instant crafting \r\n - Airdrop every 30 minutes (drops on players) \r\n - Lottery every hour with prizes for the store \r\n - Copters on the roads + fast night \r\n - Turrets without electricity \r\n - Auto-kit (MP5, armor)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777626263,
    "score": 0,
    "last_online": 1777661422,
    "icon": null,
    "name": "#5 RUSTMAX BATTLEFIELD X1000 CLANS [EU]",
    "connect": "147.135.139.16:20510",
    "request": "147.135.139.16:20511",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1768383756,
    "last_update": 1777661422,
    "banned": false,
    "wipe": 1777572037,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2399,
    "language": "fr",
    "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/10896007");
$data = json_decode($json, true);
var_dump($data);