Сервер ПОБОЛЬШЕ имени Насти step için API

Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10734025
json
{
  "response": {
    "steam_id": "85568392935703253",
    "domain": null,
    "id": 10734025,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"z8zn1jbTAU\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер ПОБОЛЬШЕ сервера поменьше имени насти step. Стример KoJIxac играет со зрителями когда народу слишком много. Без опциональных модов.. пока что??\"}},{\"id\":\"_54_014AnZ\",\"type\":\"paragraph\",\"data\":{\"text\":\"Как подключиться - https://kojixac.ru/ets2server\"}}]",
    "game": 227300,
    "owner": 126280,
    "boosts": 1,
    "last_offline": 1775822526,
    "score": 0,
    "last_online": 1775988031,
    "icon": null,
    "name": "Сервер ПОБОЛЬШЕ имени Насти step",
    "connect": null,
    "request": null,
    "map": "europe",
    "gamemode": "Admin tg@falke1932 | twitch: KoJIxac | kojixac.ru/ets2server",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 90,
    "add_date": 1766190619,
    "last_update": 1775988031,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": true,
    "hide_query": false,
    "position_game": 30,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 1980,
      "steam_id": 227300,
      "name": "Euro Truck Simulator 2",
      "url": "euro-truck-simulator-2"
    },
    "server_owner": {
      "username": "f4lk32",
      "avatar": "no.jpg",
      "last_online": 1775734608
    },
    "mods": [],
    "disabled_modules": [
      "chat"
    ]
  }
}

Kod örnekleri

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