Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11511338
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 94993,
    "world_seed": 1519355986,
    "world_size": 4000,
    "steam_id": 90286582429330460,
    "domain": null,
    "id": 11511338,
    "ip": "65.109.84.99",
    "port": 60402,
    "query": 60404,
    "color": 0,
    "city": "Helsinki",
    "description": "![[EU] Outfall 2.5x Solo/Duo/Trio/Quad | Bi-Weekly | Shared BPs |](https://i.ibb.co/B5d9K37W/EUOutfall-PVP2-5x-Banner-RS.png)\nWelcome to EU Outfall 2.5x! \r\n - Bi-Weekly wipe schedule (Every 2 weeks @ 7PM UTC on Thursdays) \r\n - Monthly BP Wipes \r\n - Team Limit: 4 \r\n \r\n Some of our key features: \r\n • No P2W \r\n • Shared BPs \r\n • Active staff \r\n • QoL features \r\n • Long Days, Short Nights \r\n • Recyclers at more monuments \r\n \r\n https://discord.outfallrust.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780549468,
    "last_online": 1780578035,
    "icon": null,
    "name": "[EU] Outfall 2.5x Solo/Duo/Trio/Quad | Bi-Weekly | Shared BPs |",
    "connect": "65.109.84.99:60402",
    "request": "65.109.84.99:60404",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 225,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353841,
    "last_update": 1780578035,
    "banned": false,
    "wipe": 1780083190,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5185,
    "language": "fi",
    "parked": false,
    "app": {
      "id": 252490,
      "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/11511338");
$data = json_decode($json, true);
var_dump($data);