Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10825148
json
{
  "response": {
    "steam_id": "90284390662201350",
    "domain": null,
    "id": 10825148,
    "ip": "77.37.224.140",
    "port": 27025,
    "query": 27026,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 1604030,
    "owner": 132388,
    "boosts": 1,
    "last_offline": 1776007341,
    "score": 0,
    "last_online": 1776441025,
    "icon": null,
    "name": "[RU] Mindo PVP-TRIO [Brutal]",
    "connect": "77.37.224.140:27025",
    "request": "77.37.224.140:27026",
    "map": "VRisingWorld",
    "gamemode": "e26072a1-0a33-46e8-84a2-f687b26b7c1d",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 90,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1767989989,
    "last_update": 1776441025,
    "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": 27,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": {
      "username": "mindscratcher",
      "avatar": "46af0d00-a34d-49dd-bbff-11b1751b656b.jpg",
      "last_online": 1775637320
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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