Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/3679682
json
{
  "response": {
    "fps": 35,
    "fps_avg": 33,
    "entities_count": 14752,
    "world_seed": 1337,
    "world_size": 1000,
    "steam_id": "90285920349031426",
    "domain": null,
    "id": 3679682,
    "ip": "135.148.137.125",
    "port": 28315,
    "query": 28317,
    "color": 0,
    "city": "Warrenton",
    "description": "![Sunset | 3x Trio | One Grid | Smallest Map | 1 Grid](https://github.com/daniel-wil/sunset/blob/main/icons/SunsetBanner.png?raw=true)\nWelcome To Sunset 3x Solo/Duo/Trio [One Grid]\r\n Group Size= Trio(3)\r\n Kits | Improved Loot | Exclusive Custom Maps\r\n\r\n Map Wipes: Every Monday & Friday at 2PM EST\r\n - Blueprints Wipe Monthly On Forcewipe!\r\n\r\n [Server Rules] :\r\n - No cheating, scripting or exploiting. No impersonation of staff members.\r\n - No Overteaming , Trio ONLY (no exceptions)\r\n - No spam, racism or discrimination.\r\n - No DDoS/DOXXING threats of any sort.\r\n - No 1 Rust/EAC Banned account under 180 days\r\n - No 2 Rust/EAC Banned account(s).\r\n\r\n [Server Perks]:\r\n - Active Staff\r\n - Custom Maps & Monuments\r\n - High Performance Servers\r\n - DDoS Protected\r\n\r\n If you\\'d like to purchase VIP and support the server visit:\r\n store.rustsunset.com\r\n For more information join our Discord by clicking the blue button!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778176987,
    "last_online": 1779257413,
    "icon": null,
    "name": "Sunset | 3x Trio | One Grid | Smallest Map | 1 Grid",
    "connect": "135.148.137.125:28315",
    "request": "135.148.137.125:28317",
    "map": "Sunset - 3x One Grid",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 11,
    "maxplayers": 25,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 77,
    "add_date": 1711959639,
    "last_update": 1779257413,
    "banned": false,
    "wipe": 1779127239,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 359,
    "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/3679682");
$data = json_decode($json, true);
var_dump($data);