API dla Naked & Afraid |5x|Fresh Wipe|PvP|Kits|Solo/Duo/Trio/Quads
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 75,
"fps_avg": 77,
"entities_count": 222927,
"world_seed": 481981,
"world_size": 6000,
"steam_id": 90286600376800270,
"domain": null,
"id": 11671039,
"ip": "154.16.200.198",
"port": 28080,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "\n💀 NAKED & AFRAID 💀\r\n🌿 Stoners Gaming Community Server 🌿\r\n\r\n⚔️ Casual Survival | Balanced PvP ⚔️\r\nNo wipes while you sleep — only fair fights.\r\n\r\n━━━━━━━━━━━━━━━━━━━━━━\r\n📦 5x Loot\r\n🚫 No Offline Raids\r\n🎯 PvE Raidable Bases\r\n🎁 Free Starter Kits\r\n🛡️ Base Protection\r\n💎 VIP Kits Available\r\n━━━━━━━━━━━━━━━━━━━━━━\r\n\r\n💥 Join Up. Gear Up. Dominate. 💥",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780180912,
"last_online": 1780588236,
"icon": null,
"name": "Naked & Afraid |5x|Fresh Wipe|PvP|Kits|Solo/Duo/Trio/Quads",
"connect": "154.16.200.198:28080",
"request": "154.16.200.198:28015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780180912,
"last_update": 1780588236,
"banned": false,
"wipe": 1775778834,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5806,
"language": "en",
"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/11671039");
$data = json_decode($json, true);
var_dump($data);