Rust
API для [EU/CZ] Odyssey - RustVanilla.eu | Quad | Beginners | Fridays |
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6649610json
{
"response": {
"fps": 97,
"fps_avg": 97,
"entities_count": 75711,
"world_seed": 215936022,
"world_size": 3200,
"steam_id": "90285686929459205",
"domain": null,
"id": 6649610,
"ip": "185.180.2.113",
"port": 28620,
"query": 27620,
"color": 0,
"city": "Prague",
"description": "![[EU/CZ] Odyssey - RustVanilla.eu | Quad | Beginners | Fridays |](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 - Bi-weekly piatky o 18:00 (6 PM CET) = FULL WIPE (mapa + blueprinty)\r\n - Weekly piatky o 18:00 (6 PM CET) = MAP WIPE (blueprinty zostávajú)\r\n \r\n • Raidiť je zakázané od 00:00 do 10:00 \r\n • Veľkosť skupiny: 4 \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 - Every other Friday at 6 PM CET – FULL WIPE (Map + Blueprints)\r\n - In-between Fridays at 6 PM CET – MAP WIPE (Blueprints persist)\r\n \r\n • Raiding is prohibited from 00:00 to 10:00 \r\n • Group size: 4 \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": 1778689821,
"icon": null,
"name": "[EU/CZ] Odyssey - RustVanilla.eu | Quad | Beginners | Fridays |",
"connect": "185.180.2.113:28620",
"request": "185.180.2.113:27620",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 3,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1731487535,
"last_update": 1778689821,
"banned": false,
"wipe": 1778255939,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3185,
"language": "cs",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/6649610");
$data = json_decode($json, true);
var_dump($data);