Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11645114
json
{
  "response": {
    "fps": 74,
    "fps_avg": 87,
    "entities_count": 86867,
    "world_seed": 207425810,
    "world_size": 4000,
    "steam_id": "90286605540769808",
    "domain": null,
    "id": 11645114,
    "ip": "66.51.96.57",
    "port": 28065,
    "query": 28066,
    "color": 0,
    "city": "Ashburn",
    "description": "![[WIPED 05/22] SOLO | DUO | TRIO GOPNIKS UTOPIA](https://i.ibb.co/TwnSdCM/Rust-Header-Image-Raised.png)\nAn up and coming Utopia for Gopniks and Gopnichkas\r\n\r\nWipes every Friday 1PM EST time zone Weekly/Force Wipes\r\n\r\n4000 size maps usually\r\n\r\nDon't cheat or exploit...or we'll touch you and ban you after we have our fun with you ;)\r\n\r\nPlease don't play more than trio :( \r\n\r\nHave fun!\r\n\r\nActive Admins",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780600465,
    "last_online": 1780601602,
    "icon": null,
    "name": "[WIPED 05/22] SOLO | DUO | TRIO GOPNIKS UTOPIA",
    "connect": "66.51.96.57:28065",
    "request": "66.51.96.57:28066",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 0,
    "add_date": 1780177447,
    "last_update": 1780601602,
    "banned": false,
    "wipe": 1780600389,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9460,
    "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/11645114");
$data = json_decode($json, true);
var_dump($data);