Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10488442
json
{
  "response": {
    "fps": 10,
    "fps_avg": 10,
    "entities_count": 99379,
    "world_seed": 678188277,
    "world_size": 4000,
    "steam_id": "90284723166174233",
    "domain": null,
    "id": 10488442,
    "ip": "95.217.75.83",
    "port": 25015,
    "query": 25017,
    "color": 0,
    "city": "Helsinki",
    "description": "![RUSTLand.pl Monthly x3 02.04.26 Softcore](https://rustland.pl/wp-content/uploads/2019/12/banner_gry_monthly_x3.png)\n[PL/EU] RUSTLand Monthly x3\r\n\r\nComponents 3x,\r\nCrafting 3x,\r\nGather 3x\r\n\r\nWIPE 02.04.26\r\nNext Wipe 07.05.26",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776742400,
    "score": 0,
    "last_online": 1776822025,
    "icon": null,
    "name": "RUSTLand.pl Monthly x3 02.04.26 Softcore",
    "connect": "95.217.75.83:25015",
    "request": "95.217.75.83:25017",
    "map": "Procedural Map",
    "gamemode": "Softcore",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1761122042,
    "last_update": 1776822025,
    "banned": false,
    "wipe": 1775154434,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3696,
    "language": "fi",
    "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/10488442");
$data = json_decode($json, true);
var_dump($data);