Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11260689
json
{
  "response": {
    "fps": 97,
    "fps_avg": 101,
    "entities_count": 130920,
    "world_seed": 570852093,
    "world_size": 4800,
    "steam_id": "90285030257645569",
    "domain": null,
    "id": 11260689,
    "ip": "185.189.255.66",
    "port": 35400,
    "query": 35410,
    "color": 0,
    "city": "Moscow",
    "description": "![Tribal Rust | Vanilla](https://pic.survivalhost.org/image/ZPOOq)\nВанила для всех — это уютный сервер для тех, кто ценит оригинальный геймплей без модов и сложных правил. Здесь всё по‑классике: выживание, строительство, приключения.\r\n\r\nЧто вас ждёт:\r\n\r\nПолностью ванильный опыт. \r\nЧестная игра.",
    "game": 252490,
    "owner": null,
    "boosts": 12,
    "last_offline": 1777287804,
    "score": 0,
    "last_online": 1777314608,
    "icon": null,
    "name": "Tribal Rust | Vanilla",
    "connect": "185.189.255.66:35400",
    "request": "185.189.255.66:35410",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 6,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 3,
    "points": 768,
    "add_date": 1774555201,
    "last_update": 1777314608,
    "banned": false,
    "wipe": 1777287964,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 8,
    "language": "ru",
    "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/11260689");
$data = json_decode($json, true);
var_dump($data);