██████ ★ Kyle's Project ★ | Classic / ██████ [Тикрейт: 60] [Игра длится: 00:01:41] [Админов: 0] ██████ [kyles.ru/discord] | [kyles.ru] | [kyles.scpsl@gmai için API

Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11252614
json
{
  "response": {
    "steam_id": 0,
    "domain": null,
    "id": 11252614,
    "ip": "185.9.145.144",
    "port": 7770,
    "query": 7770,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 700330,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774356424,
    "score": 5,
    "last_online": 1777548014,
    "icon": null,
    "name": "██████                             ★ Kyle's Project ★ | Classic /\n██████                              [Тикрейт: 60] [Игра длится: 00:01:41] [Админов: 0]\n██████                                            [kyles.ru/discord] | [kyles.ru] | [kyles.scpsl@gmai",
    "connect": "185.9.145.144:7770",
    "request": "185.9.145.144:7770",
    "map": "Facility",
    "gamemode": "SCP: Secret Laboratory",
    "version": "14.2.6",
    "numplayers": 34,
    "maxplayers": 40,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 119,
    "add_date": 1774356424,
    "last_update": 1777548014,
    "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": 1,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 18576,
      "steam_id": 700330,
      "name": "SCP: Secret Laboratory",
      "url": "scp-secret-laboratory"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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