Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10459906
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 124516,
    "world_seed": 909640077,
    "world_size": 4500,
    "steam_id": "90286604560725002",
    "domain": null,
    "id": 10459906,
    "ip": "64.40.9.110",
    "port": 29015,
    "query": 29016,
    "color": 0,
    "city": "London",
    "description": "![[EN/GER] Get Rusted |Solo-Quad|Weekly noBP|Biweekly Full](https://i.imgur.com/D4Zm5WX.jpg)\nMap wipe (No BP/XP/$) : Weekly Thursday @ 8 pm (CET)\r\nFull wipe : Biweekly Thursday @ 8 pm (CET)\r\nDaily Restart @ 6 am (CET)\r\n\r\n- Max. team size: 4\r\n- Stacksize: x2 (x4 only for Wood, Stone, Ores, Sulfur, Frags, HQM and Cloth)\r\n- Gathersize: Vanilla (up to x2 by using the Skill-Tree)\r\n- Loot without junk\r\n- SkinBox and Building Skins\r\n- Economic System, Skill Tree, Quests, Events and much more...\r\n- Rust+ ready\r\n\r\nJoin our Discord @ https://discord.gg/get-rusted",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780597469,
    "last_online": 1780624231,
    "icon": null,
    "name": "[EN/GER] Get Rusted |Solo-Quad|Weekly noBP|Biweekly Full",
    "connect": "64.40.9.110:29015",
    "request": "64.40.9.110:29016",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1760474382,
    "last_update": 1780624231,
    "banned": false,
    "wipe": 1780597470,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3485,
    "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/10459906");
$data = json_decode($json, true);
var_dump($data);