Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11305396
json
{
  "response": {
    "oxide": true,
    "modded": true,
    "fps": 49,
    "fps_avg": 47,
    "entities_count": 631729,
    "world_seed": 1605905496,
    "world_size": 3500,
    "steam_id": "90285441328199684",
    "domain": null,
    "id": 11305396,
    "ip": "89.34.97.13",
    "port": 28540,
    "query": 28475,
    "color": 0,
    "city": "City of London",
    "description": "![Fallout PVE UK Modded 2x](https://i.imgur.com/VoKV92c.jpg)\nEnglish Primary 2x Server\r\n-=Modded=-\r\nRaidable Bases\r\nPvP Zones\r\nTeleport\r\nBackpacks\r\nQuick Smelt\r\nRecycle\r\nLoot+ with more.\r\nCheaters or EAC Bans will be banned from server. Not welcome here sorry.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778122983,
    "score": 0,
    "last_online": 1778605225,
    "icon": null,
    "name": "Fallout PVE UK Modded 2x",
    "connect": "89.34.97.13:28540",
    "request": "89.34.97.13:28475",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2332",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774592885,
    "last_update": 1778605225,
    "banned": false,
    "wipe": 1651697107,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4611,
    "language": "en",
    "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/11305396");
$data = json_decode($json, true);
var_dump($data);