JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11606302
json
{
  "response": {
    "fps": 186,
    "fps_avg": 198,
    "entities_count": 78908,
    "world_seed": 2147368010,
    "world_size": 3700,
    "steam_id": "90286578533616648",
    "domain": null,
    "id": 11606302,
    "ip": "151.242.38.23",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Bursa",
    "description": "![[EU/TR] Rustfy.com - Vanilla - Monthly](https://i.ibb.co/RTLtCdhd/rustfy-header-community-512x256.png)\nRustfy - Monthly Vanilla Rust Server (+Advanced Anti-Cheat System)\r\nMap Size: 3700\r\nServer Location: Türkiye\r\n- Rules -\r\n* Respect all members on this server. Any disrespect will be punished.\r\n* All forms of racism are forbidden.\r\n* Spam, flooding, and CaPsLOCK are forbidden.\r\n* The use of cheating, macros and other third-party software and tools, as well as any form of automation, is prohibited.\r\n- Reset Cycle -\r\n* Map: Resets on the first Thursday of every month along with a global reset.\r\n* Blueprints: Do not reset except during game-wide resets.\r\n* Last Reset Date: 28.05.2026 (Server launch date.)\r\n* Next Reset Date: 04.06.2026\r\n\r\nRustfy - Aylık Emek Rust Sunucusu (+Gelişmiş Anti-Hile Sistemi)\r\nHarita Boyutu: 3700\r\nSunucu Lokasyonu: Türkiye\r\n- Kurallar -\r\n* Bu sunucudaki tüm üyelere saygı gösterin. Her türlü saygısızlık cezalandırılacaktır.\r\n* Her türlü ırkçılık yasak.\r\n* Spam, flood, CaPsLOCK yasak.\r\n* Hile, makro vb. 3. parti yazılım ve araçların kullanımı ve her türlü otomasyon yasaktır.\r\n- Sıfırlama Döngüsü -\r\n* Harita: Her ayın ilk Perşembe günü global sıfırlama ile birlikte sıfırlanır.\r\n* Şemalar: Oyun geneli sıfırlamalar hariç sıfırlanmaz.\r\n* Son Sıfırlama Tarihi: 28.05.2026 (Sunucu açılışı.)\r\n* Sonraki Sıfırlama Tarihi: 04.06.2026",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780266848,
    "last_online": 1780588231,
    "icon": null,
    "name": "[EU/TR] Rustfy.com - Vanilla - Monthly",
    "connect": "151.242.38.23:28015",
    "request": "151.242.38.23:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 3,
    "maxplayers": 250,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "TR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915467,
    "last_update": 1780588231,
    "banned": false,
    "wipe": 1779964990,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5316,
    "language": "tr",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Przykłady kodu

php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11606302");
$data = json_decode($json, true);
var_dump($data);