API dla Wipeyard 3X | Vanilla+ | Quad Max | FULL WIPED 04.06 06/04
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 230,
"fps_avg": 229,
"entities_count": 64744,
"world_seed": 1275781471,
"world_size": 3500,
"steam_id": "90286603683768345",
"domain": null,
"id": 11644821,
"ip": "51.254.44.33",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Roubaix",
"description": "\nWipeyard is a clean 3X Vanilla+ Rust server.\r\n\r\n• 3X Gather / Loot / Stack\r\n• Faster smelting and crafting\r\n• Solo/Duo/Trio/Quad only\r\n• Max team size: 4\r\n• Weekly map wipes\r\n• Monthly BP wipes on force wipe\r\n• Starter kit + playtime kits\r\n• No TP / No Home / No Shop / No BGrade / No Backpacks\r\n• No pay-to-win\r\n• English-speaking global community",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780635035,
"icon": null,
"name": "Wipeyard 3X | Vanilla+ | Quad Max | FULL WIPED 04.06 06/04",
"connect": "51.254.44.33:28015",
"request": "51.254.44.33:28017",
"map": "Wiped 11h 4m Ago",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780177437,
"last_update": 1780635035,
"banned": false,
"wipe": 1780595416,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5286,
"language": "fr",
"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/11644821");
$data = json_decode($json, true);
var_dump($data);