Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11511940
json
{
  "response": {
    "fps": 183,
    "fps_avg": 179,
    "entities_count": 63803,
    "world_seed": 1126623735,
    "world_size": 3500,
    "steam_id": "90286025012673551",
    "domain": null,
    "id": 11511940,
    "ip": "157.211.209.15",
    "port": 28015,
    "query": 27017,
    "color": 0,
    "city": "Morwell",
    "description": "We run a balanced, community-friendly with active staff and zero tolerance for cheaters. \r\n Whether you're a solo veteran, a new player learning the ropes, or rolling with a squad, you'll find a welcoming home here. \r\n What Sets Us Apart: \r\n —Community-focused \r\n — helpful players, active Discord, no toxic elitism Strict 4-player team limit \r\n — enforced, no exceptions 50% upkeep \r\n — build bigger without the grind Clean ban record policy \r\n — max 1 VAC/game ban, must be 365+ days old Active anti-cheat & admin monitoring \r\n — cheaters removed fast, no appeals Performance-first building rules \r\n — no lag bases, reasonable compounds Toxicity has a line \r\n — banter welcome, hate speech isn't. \r\n Wipe Schedule Map wipes: Monthly (first Thursday of each month) \r\n BP wipes: Quarterly (force wipe only)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779354800,
    "last_online": 1779390631,
    "icon": null,
    "name": "Navruz | Monthly | Low Upkeep | New and Chill Players |",
    "connect": "157.211.209.15:28015",
    "request": "157.211.209.15:27017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 60,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353869,
    "last_update": 1779390631,
    "banned": false,
    "wipe": 1779354788,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5578,
    "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/11511940");
$data = json_decode($json, true);
var_dump($data);