API pentru КЛАССИКА x3 | GGRust #3 | Для нoвичкoв 3x

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/7468505
json
{
  "response": {
    "modded": true,
    "fps": 59,
    "fps_avg": 59,
    "entities_count": 180406,
    "world_seed": 1,
    "world_size": 4250,
    "steam_id": "90285017570619398",
    "domain": null,
    "id": 7468505,
    "ip": "80.242.59.104",
    "port": 35100,
    "query": 35110,
    "color": 0,
    "city": "Veliky Novgorod",
    "description": "![КЛАССИКА x3 | GGRust #3 | Для нoвичкoв 3x](https://s.ggrust.ru/img/clx3.png)\nДобро пожаловать на классический сервер GGRust! \r\n\r\n• Добыча и стаки ресурсов х3\r\n• Максимально 8 игроков в команде\r\n• Стирание карты раз в неделю, обнуление изучений раз в 2 недели\r\n• Переработчики и станции дронов в сейв зонах\r\n• Потребление ресурсов шкафом снижено на 50%\r\n• Классика без телепортов и модов\r\n• Активная администрация 18+\r\n\r\nНаш сайт - GGRust.ru",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777259004,
    "score": 0,
    "last_online": 1777319414,
    "icon": null,
    "name": "КЛАССИКА x3 | GGRust #3 | Для нoвичкoв 3x",
    "connect": "80.242.59.104:35100",
    "request": "80.242.59.104:35110",
    "map": "GGRust.ru Classic map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 51,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 83,
    "add_date": 1739234832,
    "last_update": 1777319414,
    "banned": false,
    "wipe": 1777034730,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 426,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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