API pentru *[RU] - Warfare RHS&CUP - CTI - WF.ARMA.SU

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/1247976
json
{
  "response": {
    "steam_id": "90284393126781971",
    "domain": null,
    "id": 1247976,
    "ip": "91.132.21.189",
    "port": 2302,
    "query": 2303,
    "color": 0,
    "city": "Krasnoyarsk",
    "description": "",
    "game": 107410,
    "owner": 84339,
    "boosts": 1,
    "last_offline": 1775314330,
    "score": null,
    "last_online": 1776438026,
    "icon": null,
    "name": "*[RU] - Warfare RHS&CUP - CTI - WF.ARMA.SU",
    "connect": "91.132.21.189:2302",
    "request": "91.132.21.189:2303",
    "map": "hellanmaa",
    "gamemode": "Warfare In Hellanmaa",
    "version": "2.20.152984",
    "numplayers": 0,
    "maxplayers": 61,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1692267194,
    "last_update": 1776438026,
    "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": 31,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 61,
      "steam_id": 107410,
      "name": "Arma 3",
      "url": "arma-3"
    },
    "server_owner": {
      "username": "puzman2",
      "avatar": "db4fee51-902c-46c6-8d5a-ef5a3756abd0.jpg",
      "last_online": 1726544146
    },
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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