API dla [SEA] Rust VN Vanilla | X1 | PVP
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 68247,
"world_seed": 24972420,
"world_size": 3500,
"steam_id": "90286897328326681",
"domain": null,
"id": 11759642,
"ip": "27.72.135.112",
"port": 23015,
"query": 23016,
"project_id": null,
"color": 0,
"city": "Hanoi",
"description": "[SEA] Rust VN Vanilla | X1 | PVP\r\n15 ngày wipe map | wipe full theo lịch force wipe\r\nTUYỆT ĐỐI TÔN TRỌNG QUẢN TRỊ VIÊN TRONG MỌI TÌNH HUỐNG KHÔNG ĐƯỢC CÓ LỜI LẼ QUÁ KHÍCH (vi phạm Ban vĩnh viễn)\r\nCảm ơn những ai đã tham gia server\r\nAcc rust 250k/1 ai cần liên hệ discord\r\nDISCORD: bấm nút website",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780931725,
"last_online": 1781262033,
"icon": null,
"name": "[SEA] Rust VN Vanilla | X1 | PVP",
"connect": "27.72.135.112:23015",
"request": "27.72.135.112:23016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 0,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": false,
"country": "VN",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780931725,
"last_update": 1781262033,
"banned": false,
"wipe": 1780622948,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6002,
"language": "vi",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11759642");
$data = json_decode($json, true);
var_dump($data);