Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11715928
json
{
  "response": {
    "steam_id": "90286466217950222",
    "domain": null,
    "id": 11715928,
    "ip": "80.131.100.34",
    "port": 27000,
    "query": 27020,
    "color": 0,
    "city": "Herzberg",
    "description": "No Mods | PvE | Set up on 2026-04-17 | Wont be wiped | Always reachable with avorion.hog-cloud.com",
    "game": 445220,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780670006,
    "last_online": 1780369827,
    "icon": null,
    "name": "Open Galaxy",
    "connect": "80.131.100.34:27000",
    "request": "80.131.100.34:27020",
    "map": "y4L4R2e0eH",
    "gamemode": "Avorion",
    "version": "2.5.13.44140",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780301750,
    "last_update": 1780670006,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 458,
    "language": "de",
    "parked": false,
    "app": {
      "id": 172,
      "steam_id": 445220,
      "name": "Avorion",
      "url": "avorion"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11715928");
$data = json_decode($json, true);
var_dump($data);