Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10522170
json
{
  "response": {
    "fps": 75,
    "fps_avg": 79,
    "entities_count": 143929,
    "world_seed": 137131,
    "world_size": 5000,
    "steam_id": "90285945362180107",
    "domain": null,
    "id": 10522170,
    "ip": "216.245.177.52",
    "port": 28025,
    "query": 28027,
    "color": 0,
    "city": "Chicago",
    "description": "![The Hills Have Rust|Vanilla|NoDecay|Monthly](https://imgur.com/TBtMO0u.jpg)\nWelcome to The Hills Have Rust | Active Admins, Vanilla, PvP Enabled, No Decay, Monthly Wipes | Join our Discord: https://discord.gg/8g2affmCXp | Daily Restarts at 6:00 am CT",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779188573,
    "last_online": 1779202820,
    "icon": null,
    "name": "The Hills Have Rust|Vanilla|NoDecay|Monthly",
    "connect": "216.245.177.52:28025",
    "request": "216.245.177.52:28027",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2624",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1761429511,
    "last_update": 1779202820,
    "banned": false,
    "wipe": 1778180034,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3582,
    "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/10522170");
$data = json_decode($json, true);
var_dump($data);