Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/632026
json
{
  "response": {
    "steam_id": "90284568549467137",
    "domain": null,
    "id": 632026,
    "ip": "92.53.90.68",
    "port": 2302,
    "query": 2303,
    "color": 0,
    "city": "St Petersburg",
    "description": "",
    "game": 107410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776181274,
    "score": null,
    "last_online": 1776460941,
    "icon": null,
    "name": "[COOP]Games Independent Server[RUS/G.I.S]",
    "connect": "92.53.90.68:2302",
    "request": "92.53.90.68:2303",
    "map": "Altis",
    "gamemode": "[PVE]  -*З_А_Щ_И_Т_Н_И_К*-  [COOP]",
    "version": "2.20.152984",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1669653221,
    "last_update": 1776460941,
    "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": 410,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 61,
      "steam_id": 107410,
      "name": "Arma 3",
      "url": "arma-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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