Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11607191
json
{
  "response": {
    "fps": 238,
    "fps_avg": 237,
    "entities_count": 47147,
    "world_seed": 1337,
    "world_size": 2500,
    "steam_id": "90286509715354632",
    "domain": null,
    "id": 11607191,
    "ip": "173.168.121.138",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Spring Hill",
    "description": "![US BETTER RUST - 5x - FREE KITS](https://imgur.com/o0A7dSx.jpg)\nNext Wipe: 5/7 @ 8:00PM EST \r\n NO VAC/GAME/SERVER BANS ALLOWED \r\n FREE KITS \r\n FREE Minicopter \r\n 5x gather on mats \r\n Offline Raid Protection - You must log in every two days \r\n Box Sorting \r\n Larger stack sizes in base \r\n Insta crafting \r\n Extra safe zone recycles \r\n Long Days and short nights \r\n Extended workbench range \r\n Active admins & more",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780241650,
    "last_online": 1780671635,
    "icon": null,
    "name": "US BETTER RUST - 5x - FREE KITS",
    "connect": "173.168.121.138:28015",
    "request": "173.168.121.138:28016",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915498,
    "last_update": 1780671635,
    "banned": false,
    "wipe": 1778632623,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5366,
    "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/11607191");
$data = json_decode($json, true);
var_dump($data);