JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11510738
json
{
  "response": {
    "fps": 15,
    "fps_avg": 15,
    "entities_count": 68826,
    "world_seed": 588689031,
    "world_size": 3500,
    "steam_id": "90286575277971474",
    "domain": null,
    "id": 11510738,
    "ip": "91.124.63.77",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Istanbul",
    "description": "![[TR]/[EU] RAVEN | Solo/Duo/Trio/Quad | Yeni Başlayan](https://i.hizliresim.com/75xe6ez.png)\nTR RAVEN, TR/EU emek ve rekabet odaklı Rust sunucusudur.\r\n» Takım limiti 4 kişidir. Takım/ally/roam limiti aşımı tespit edilirse ceza uygulanır.\r\n» Alet dolabı (TC) bakım masrafı %50 daha azdır.\r\n» Vanilla hissini bozmadan rank sistemi aktiftir.\r\n» İstatistiklerinizi /rank komutu ile Farm • Event • Kill olarak görüntüleyebilirsiniz.\r\n» VIP sadece Discord Ticket üzerinden verilir.\r\n» Aktif admin ve hızlı destek.\r\n\r\n ENG RAVEN is a TR/EU Rust server focused on effort and fair competition.\r\n» Team limit is 4. Team/ally/roam limit violations may result in punishment.\r\n» Tool Cupboard (TC) upkeep cost is reduced by 50%.\r\n» Rank systems are active without breaking the vanilla feeling.\r\n» Use /rank to view your Farm • Event • Kill statistics.\r\n» VIP is only available through Discord Ticket.\r\n» Active staff and fast support.\r\n\r\n» Discord: discord.gg/CckQ5BVJv4",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780531461,
    "last_online": 1780555237,
    "icon": null,
    "name": "[TR]/[EU] RAVEN | Solo/Duo/Trio/Quad | Yeni Başlayan",
    "connect": "91.124.63.77:28015",
    "request": "91.124.63.77:28016",
    "map": "RavenFps+ | Wiped 5 gun once",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 125,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "TR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353832,
    "last_update": 1780555237,
    "banned": false,
    "wipe": 1780071043,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4949,
    "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/11510738");
$data = json_decode($json, true);
var_dump($data);