Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10781136
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 217142,
    "world_seed": 440799110,
    "world_size": 3750,
    "steam_id": "90284546043144201",
    "domain": null,
    "id": 10781136,
    "ip": "168.100.161.157",
    "port": 28010,
    "query": 28015,
    "color": 0,
    "city": "London",
    "description": "![[EU] Stevious 2x Main | Vanilla | 16/4](https://cdn.rustlegends.com/Stevious_2x_header.png)\nWeekly wipes and the following modifications: \r\n\r\n2x Gather Rates (2.5x for Sulfur and Wood) \r\nHalf smelt and crafting speeds (Vanilla for raiding items) \r\nBuilding and Level 1 Workbench blueprints unlocked \r\nComponent System loot tables (Junk items removed) \r\n\r\nVisit https://stevious.io for VIP (Queue Skip) and Rules / Discord information.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775690524,
    "score": 0,
    "last_online": 1776433209,
    "icon": null,
    "name": "[EU] Stevious 2x Main | Vanilla | 16/4",
    "connect": "168.100.161.157:28010",
    "request": "168.100.161.157:28015",
    "map": "Wiped 23 hours ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 388,
    "maxplayers": 400,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 117,
    "add_date": 1766872500,
    "last_update": 1776433209,
    "banned": false,
    "wipe": 1776347914,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 89,
    "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/10781136");
$data = json_decode($json, true);
var_dump($data);