API pentru [EU/CZ] Odyssey - RustVanilla.eu | Beginners | Fridays 17/04

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/6649610
json
{
  "response": {
    "fps": 96,
    "fps_avg": 96,
    "entities_count": 80128,
    "world_seed": 215936022,
    "world_size": 3200,
    "steam_id": "90284793177369605",
    "domain": null,
    "id": 6649610,
    "ip": "185.180.2.113",
    "port": 28620,
    "query": 27620,
    "color": 0,
    "city": "Prague",
    "description": "![[EU/CZ] Odyssey - RustVanilla.eu | Beginners | Fridays 17/04](https://rustvanilla.eu/images/1.png)\nVitaj na RustVanilla.eu! Vanilla, žiadne modifikácie, žiadne pluginy. \r\n \r\n • Wipe info: \r\n - Prvý štvrtok v mesiaci 20:00 (8 PM CET) = FULL WIPE (mapa + blueprinty, oficiálny force wipe) \r\n - Ďalšie piatky 18:00 (6 PM CET) = iba wipe mapy (blueprinty zostávajú) \r\n  \r\n • Raidiť je zakázané od 00:00 do 10:00 \r\n • Veľkosť skupiny: 6 \r\n • Mapa: 3200 & Combined outpost \r\n • Pravidelný reštart serveru v 4:28 \r\n\r\n---- \r\nWelcome to RustVanilla.eu! Vanilla, no modifications, no plugins.\r\n  \r\n • Wipe info: \r\n - First Thursday of the month 20:00 (8 PM CET) = FULL WIPE (map + blueprints, official force wipe) \r\n - Next Fridays 18:00 (6 PM CET) = only map wipe (blueprints remain) \r\n  \r\n • Raiding is prohibited from 00:00 to 10:00 \r\n • Group size: 6 \r\n • Map size: 3200 & Combined outpost \r\n • Server restart every day at 4:28",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774998731,
    "score": 0,
    "last_online": 1776873619,
    "icon": null,
    "name": "[EU/CZ] Odyssey - RustVanilla.eu | Beginners | Fridays 17/04",
    "connect": "185.180.2.113:28620",
    "request": "185.180.2.113:27620",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 17,
    "maxplayers": 250,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CZ",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1731487535,
    "last_update": 1776873619,
    "banned": false,
    "wipe": 1776441542,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1384,
    "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/6649610");
$data = json_decode($json, true);
var_dump($data);