Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11511601
json
{
  "response": {
    "fps": 193,
    "fps_avg": 167,
    "entities_count": 65276,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": "90286184645792779",
    "domain": null,
    "id": 11511601,
    "ip": "195.252.218.137",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Moline",
    "description": "![[ZOMBIE PVE] Survive The Horde ^| Raidable Bases ^| Events](https://i.imgur.com/your-image-here.png)\nWELCOME TO ZOMBIE PVE - DYING LIGHT STYLE\r\n\r\n- Day = Safe exploration, weak zombies\r\n- Night = TERRIFYING. Fast, deadly zombies. Seek shelter!\r\n- Blood Moon events with massive hordes\r\n- Volatile Night zombies, Alpha bosses, Wave events\r\n- Acid Rain storms, flooding, base defense\r\n- Skill Tree (Type /st) for progression\r\n- Raidable Bases spawn automatically\r\n- PVP zones at events and airdrops\r\n\r\nHave fun and survive the night!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780602218,
    "last_online": 1779961823,
    "icon": null,
    "name": "[ZOMBIE PVE] Survive The Horde ^| Raidable Bases ^| Events",
    "connect": "195.252.218.137:28015",
    "request": "195.252.218.137:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779353856,
    "last_update": 1780602218,
    "banned": false,
    "wipe": 1778615443,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11521,
    "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/11511601");
$data = json_decode($json, true);
var_dump($data);