Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11607058
json
{
  "response": {
    "fps": 104,
    "fps_avg": 99,
    "entities_count": 93751,
    "world_seed": 648252,
    "world_size": 4000,
    "steam_id": "90286322874734594",
    "domain": null,
    "id": 11607058,
    "ip": "216.245.176.235",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Chicago",
    "description": "![Havoc Hero RUST Vanilla Server](https://havochero.com/wp-content/uploads/Havoc-Hero-Server-Banner.jpg)\nHAVOC HERO VANILLA SERVER\r\n\r\nThis has the Twitch Extension called Havoc Hero. It allowers viewers to effect gameplay.\r\n\r\nThis server is only open for 1 week and its always the last week of forced wipe.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779915493,
    "last_online": 1780602037,
    "icon": null,
    "name": "Havoc Hero RUST Vanilla Server",
    "connect": "216.245.176.235:28015",
    "request": "216.245.176.235:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2621",
    "numplayers": 0,
    "maxplayers": 80,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915493,
    "last_update": 1780602037,
    "banned": false,
    "wipe": 1771766146,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4968,
    "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/11607058");
$data = json_decode($json, true);
var_dump($data);