Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11645300
json
{
  "response": {
    "fps": 44,
    "fps_avg": 40,
    "entities_count": 145137,
    "world_seed": 257863157,
    "world_size": 5000,
    "steam_id": "90286144835027968",
    "domain": null,
    "id": 11645300,
    "ip": "98.196.198.69",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "League City",
    "description": "![Tonzter's Rusty Wasteland](https://i.imgur.com/Mj4qhxE.jpeg)\nTonzter's Rusty Wasteland is a sprawling, post-apocalyptic island where survival meets chaos on an epic scale. Whether you're scavenging for scrap in the shadow of the night or staging ambushes near the crumbling decaying monuments, every corner of the map offers a new opportunity—or threat.\r\n\r\nMonthly server wipes\r\n\r\n5k map size\r\n\r\nMostly active admin\r\n\r\nEnjoy and in the words of Shadowfrax, Stay Rusty!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780177458,
    "last_online": 1780596033,
    "icon": null,
    "name": "Tonzter's Rusty Wasteland",
    "connect": "98.196.198.69:28015",
    "request": "98.196.198.69:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780177458,
    "last_update": 1780596033,
    "banned": false,
    "wipe": 1778313908,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4654,
    "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/11645300");
$data = json_decode($json, true);
var_dump($data);