Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/8990607
json
{
  "response": {
    "fps": 62,
    "fps_avg": 64,
    "entities_count": 98251,
    "world_seed": 65497897,
    "world_size": 3885,
    "steam_id": "90284806105291805",
    "domain": null,
    "id": 8990607,
    "ip": "129.232.154.35",
    "port": 28025,
    "query": 28026,
    "color": 0,
    "city": "Cape Town",
    "description": "![RustTheHoed](https://imgur.com/n7TMFXP)\nWelcome to the server. This is no ordinary server has PVP and PVE elements. Raiding and PVP allowed and encouraged. No offline protection. KOS allowed. Active trolling Admin and Owner. Any questions or suggestions join the discord.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776852199,
    "score": 0,
    "last_online": 1776877228,
    "icon": null,
    "name": "Rusty 2x Loot NO KOS, ZA.",
    "connect": "129.232.154.35:28025",
    "request": "129.232.154.35:28026",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "ZA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1746825652,
    "last_update": 1776877228,
    "banned": false,
    "wipe": 1775159714,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3682,
    "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/8990607");
$data = json_decode($json, true);
var_dump($data);