Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11188840
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 89630,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286582473511963",
    "domain": null,
    "id": 11188840,
    "ip": "144.76.155.27",
    "port": 28015,
    "query": 27015,
    "color": 0,
    "city": "Falkenstein",
    "description": "![Hollandse Glory [Dutch/Eng] | Vanilla+ 50% Upkeep| Monthly |](https://i.imgur.com/og9p8dT.png)\nHollandse Glory\r\n\r\nWelkom bij Hollandse Glory, een gezellige maar actieve Rust server waar plezier en fair play centraal staan.\r\nOf je nu komt om te bouwen, PvP te doen of gewoon Rust te spelen zonder extreme grind, hier zit je goed.\r\n\r\n• Vanilla\r\n• 50% upkeep\r\n• Leuke en behulpzame community\r\n• Actieve admins\r\n• Discord voor support en updates\r\n\r\nTalen: Nederlands / Belgisch / Engels\r\n\r\nJoin onze Discord:\r\nhttps://www.discord.gg/hollandseglory",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780534461,
    "last_online": 1780588829,
    "icon": null,
    "name": "Hollandse Glory [Dutch/Eng] | Vanilla+ 50% Upkeep| Monthly |",
    "connect": "144.76.155.27:28015",
    "request": "144.76.155.27:27015",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1772699022,
    "last_update": 1780588829,
    "banned": false,
    "wipe": 1778175722,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1965,
    "language": "de",
    "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/11188840");
$data = json_decode($json, true);
var_dump($data);