API dla №[4] D2S WarZone PvE 1000 Zombies Raidable Bases
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 117094,
"world_seed": 508940668,
"world_size": 3750,
"steam_id": "90286591906280471",
"domain": null,
"id": 567236,
"ip": "208.52.153.33",
"port": 28079,
"query": 28076,
"color": 0,
"city": "Dallas",
"description": "![№[4] D2S WarZone PvE 1000 Zombies Raidable Bases](https://cdn.shopify.com/s/files/1/0698/8146/2921/files/Banner-Warzone-S4.png?v=1761419436)\nDare2Survive: WarZone PvE\r\nA military dead zone overrun by elite AI and the undead.\r\nExtreme PvE combat with monument bosses and Bradley patrols.\r\nEarn XP, upgrade skills, and keep your gear on revive.\r\nCustom Crafting, Server Shop, and massive war events.\r\nEnter the WarZone - survive the dead.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596862,
"last_online": 1780593028,
"icon": null,
"name": "№[4] D2S WarZone PvE 1000 Zombies Raidable Bases",
"connect": "208.52.153.33:28079",
"request": "208.52.153.33:28076",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1668889624,
"last_update": 1780596862,
"banned": false,
"wipe": 1778178380,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9754,
"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/567236");
$data = json_decode($json, true);
var_dump($data);