API pentru [UA/EU] Liberty | x2 Solo | GLOBAL WIPE 20.04

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10138763
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 64718,
    "world_seed": 1337,
    "world_size": 3000,
    "steam_id": "90284721658924032",
    "domain": null,
    "id": 10138763,
    "ip": "178.33.122.71",
    "port": 26044,
    "query": 26045,
    "color": 0,
    "city": "Roubaix",
    "description": "![[UA/EU] Liberty | x2 Solo | GLOBAL WIPE 20.04](https://i.imgur.com/UzemavH.png)\nЛаскаво просимо на український сервер Rust!\r\n \r\n Характеристики сервера: \r\n • Рейт добування ресурсів x2 \r\n • Рейт добування компонентів x2 \r\n • Рейт добування кар'єрів х2\r\n • Підняття палива для роботи кар'єрів х1 \r\n \r\n Модифікації: \r\n • Доступні переробники в рибальских селах та в ранчо. \r\n • Коротші ночі. \r\n • Збільшені стаки (x2). \r\n • Вайп блок. \r\n \r\n Вайп: \r\n Щопонеділка о 17:00 \r\n \r\n • Discord: discord.gg/liberty-rust \r\n • WebSite: https://liberty-rust.com.ua\r\n Welcome to the Ukrainian Rust server! \r\n • Resource extraction rate x2 \r\n • Component extraction rate x2 \r\n • Quarry extraction rate x2 \r\n • Raising fuel for quarry operation x1 \r\n \r\n Modifications: \r\n • Available recyclers in fishing villages and ranches.\r\n • Shorter nights. \r\n • Increased stacks (x2). \r\n • Wipe Block. \r\n Wipe: \r\n Every Monday at 17:00 \r\n \r\n • Discord: discord.gg/liberty-rust \r\n • Website: https://liberty-rust.com.ua",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776693201,
    "score": 0,
    "last_online": 1776817818,
    "icon": null,
    "name": "[UA/EU] Liberty | x2 Solo | GLOBAL WIPE 20.04",
    "connect": "178.33.122.71:26044",
    "request": "178.33.122.71:26045",
    "map": "Liberty Maps",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 3,
    "maxplayers": 25,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 67,
    "add_date": 1756198735,
    "last_update": 1776817818,
    "banned": false,
    "wipe": 1776693529,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 764,
    "language": "fr",
    "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/10138763");
$data = json_decode($json, true);
var_dump($data);