Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10139980
json
{
  "response": {
    "steam_id": "90285193784239124",
    "domain": null,
    "id": 10139980,
    "ip": "185.207.214.190",
    "port": 27800,
    "query": 27801,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773545567,
    "score": 1,
    "last_online": 1777666353,
    "icon": null,
    "name": "[RU] Paradise World (2) Brutal x3 Mods",
    "connect": "185.207.214.190:27800",
    "request": "185.207.214.190:27801",
    "map": "VRisingWorld",
    "gamemode": "3d9cad26-bcca-4d90-ba9a-378142829b5a",
    "version": "0.0.0.1",
    "numplayers": 7,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 39,
    "add_date": 1756199664,
    "last_update": 1777666353,
    "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": 49,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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