API pentru [EU/CZ/SK] RustRangers | Vanilla+ | Monthly | Max 4

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11158248
json
{
  "response": {
    "fps": 20,
    "fps_avg": 20,
    "entities_count": 32878,
    "world_seed": 4,
    "world_size": 2550,
    "steam_id": "90284793956434948",
    "domain": null,
    "id": 11158248,
    "ip": "185.180.2.16",
    "port": 28545,
    "query": 27545,
    "color": 0,
    "city": "Prague",
    "description": "![[EU/CZ/SK] RustRangers | Vanilla+ | Monthly | Max 4](https://i.imgur.com/txCfhop.png)\n[EU/CZ/SK] RustRangers Monthly Wipe Vanilla+ (MAX 4)\r\n\r\nVítejte na RustRangers!\r\n\r\nVanilla+ server zaměřený na vyvážený gameplay a férové PvP.\r\nMonthly wipe přináší ideální rovnováhu mezi dlouhodobým progresem a aktivní akcí – dostatek času na build, farm i epické raidy.\r\n\r\n• Vanilla+ herní zážitek\r\n• Wipe každý první čtvrtek v měsíci\r\n• Max. 4 hráči v týmu\r\n• EU server (CZ/SK komunita vítána)\r\n• Aktivní admin team\r\n• Přátelská, ale kompetitivní komunita\r\n\r\nAť už hraješ solo nebo s týmem (max 4), u nás máš své místo.\r\n\r\nPřipoj se a staň se součástí RustRangers.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776099712,
    "score": 0,
    "last_online": 1776877228,
    "icon": null,
    "name": "[EU/CZ/SK] RustRangers | Vanilla+ | Monthly | Max 4",
    "connect": "185.180.2.16:28545",
    "request": "185.180.2.16:27545",
    "map": "RustRangers Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CZ",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772228106,
    "last_update": 1776877228,
    "banned": false,
    "wipe": 1776099728,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4709,
    "language": "cs",
    "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/11158248");
$data = json_decode($json, true);
var_dump($data);