API dla HZ Casual Rust | 1X Hybrid PvP/PvE | Chill/Noob Friendly
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 76429,
"world_seed": 1897507005,
"world_size": 3500,
"steam_id": "90286588510496783",
"domain": null,
"id": 6966394,
"ip": "76.22.43.65",
"port": 58015,
"query": 58016,
"color": 0,
"city": "Kent",
"description": "\n*May mid-month wipe: Size 3500 + all monuments*\n\nA chill, tastefully-modded hybrid PvP/PvE server for casual and new players:\n- biweekly hand-selected/custom maps\n- monthly BP wipes\n- no steamrolling / harassment / bigotry / toxicity / stream sniping / cheating\n\nCustomizations:\n- PVP at monuments/events/bases only\n- Offline Raid Protection (including modular boats)\n- Raidable Bases\n- recyclers at all safe zones\n- Player Ranks in-game and in Discord\n- zombies in higher tier areas only\n- various quality-of-life mods\n\nJoin our Discord via the webpage link for detailed status/discussion.\n\nrs01jPZaozJ^0rAi4000Yo",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780563869,
"last_online": 1780579232,
"icon": null,
"name": "HZ Casual Rust | 1X Hybrid PvP/PvE | Chill/Noob Friendly",
"connect": "76.22.43.65:58015",
"request": "76.22.43.65:58016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1734715490,
"last_update": 1780579232,
"banned": false,
"wipe": 1779386627,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2032,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"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/6966394");
$data = json_decode($json, true);
var_dump($data);