Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/7174320
json
{
  "response": {
    "fps": 57,
    "fps_avg": 57,
    "entities_count": 98082,
    "world_seed": 1368720442,
    "world_size": 3750,
    "steam_id": "90285728071236617",
    "domain": null,
    "id": 7174320,
    "ip": "37.153.157.67",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Gouda",
    "description": "![The Enclave - PVE - Low Upkeep [NEW]](https://i.imgur.com/WiCmSwy.png)\nFriendly PVE server since 2018 with low upkeep costs. Everyone is welcome!\r\nServer hosted in Amsterdam\r\n\r\nRules:\r\n1. No griefing\r\n2. No raiding/stealing\r\n3. No cheating",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778724773,
    "score": 0,
    "last_online": 1778772021,
    "icon": null,
    "name": "The Enclave - PVE - Low Upkeep [NEW]",
    "connect": "37.153.157.67:28015",
    "request": "37.153.157.67:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 3,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1736279671,
    "last_update": 1778772021,
    "banned": false,
    "wipe": 1778187398,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1697,
    "language": "nl",
    "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/7174320");
$data = json_decode($json, true);
var_dump($data);