API для BattleZone.gg — Survival PvE | Zombies/Bots | Skills | Raidab
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 40,
"fps_avg": 39,
"entities_count": 82832,
"world_seed": 669039719,
"world_size": 4000,
"steam_id": "90286604520448026",
"domain": null,
"id": 11511723,
"ip": "66.51.99.136",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to BattleZone.gg challenging PvE experience!!\r\n\r\n-Features-\r\n★ Monthly Map & BP Wipes on First Thursday.\r\n★ Zombies & Bots across the entire map.\r\n★ No Raiding, Killing or Stealing from other players.\r\n★ Inactive players are removed after 10 days for supporters, 7 days for verified discord members, and 5 days for everyone else.\r\n★ Balanced economy to upgrade /skills and buy custom events.\r\n\r\n-Events-\r\n★ Raidable NPC bases (/buyraid) - Raid NPC bases for juicy loot.\r\n★ NPC Raiders event (/raidme) - Send waves of npcs at your base to win money.\r\n★ Raiding Zombies - They will try to raid you if you don't kill them!\r\n★ Parachuting NPCs protect Bradley, Heli & Supply Drop loot.\r\n★ Tons of Custom NPC events and additional loot on the map.\r\n\r\nVisit us on discord @ discord.gg/battlezone or visit our website @ www.battlezone.gg",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780597469,
"last_online": 1780603823,
"icon": null,
"name": "BattleZone.gg — Survival PvE | Zombies/Bots | Skills | Raidab",
"connect": "66.51.99.136:28015",
"request": "66.51.99.136:28017",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 58,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 85,
"add_date": 1779353863,
"last_update": 1780603823,
"banned": false,
"wipe": 1780597489,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 573,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11511723");
$data = json_decode($json, true);
var_dump($data);