Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/9055563
json
{
  "response": {
    "steam_id": "85568392934740536",
    "domain": null,
    "id": 9055563,
    "ip": "5.83.165.225",
    "port": 10800,
    "query": 10800,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": null,
    "game": 304930,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774345315,
    "score": 0,
    "last_online": 1776106251,
    "icon": null,
    "name": "Yildiz-Gaming",
    "connect": "5.83.165.225:10800",
    "request": "5.83.165.225:10800",
    "map": "Russia",
    "gamemode": null,
    "version": "3.26.2.2",
    "numplayers": 0,
    "maxplayers": 4,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1747000444,
    "last_update": 1776106251,
    "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": 246,
    "language": "de",
    "parked": false,
    "app": {
      "id": 48,
      "steam_id": 304930,
      "name": "Unturned",
      "url": "unturned"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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