API для №[3] D2S Ultimate PvE 1000 Zombies Raidable Base
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 150024,
"world_seed": 1014,
"world_size": 4000,
"steam_id": "90286604848791575",
"domain": null,
"id": 445162,
"ip": "208.52.153.33",
"port": 28019,
"query": 28016,
"color": 0,
"city": "Dallas",
"description": "![№[3] D2S Ultimate PvE 1000 Zombies Raidable Base](https://github.com/Dare2Survive/images/blob/main/bannerUltimate.jpg?raw=true)\nDare2Surive Ultimate PvE Server! We are glad you are here!\r\n\r\nCome join us on a Custom Map with Custom Tailored Plugins\r\n\r\nPlugins: Paratroopers, Zombie Horde, Raidable Bases, Quests, JPipes and many many more\r\nBe apart of a Growing Friendly Community by joining Discord https://discord.gg/zStucjvPZ4\r\n\r\nFreindly Active NON-Playing Admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780598073,
"last_online": 1780647624,
"icon": null,
"name": "№[3] D2S Ultimate PvE 1000 Zombies Raidable Base",
"connect": "208.52.153.33:28019",
"request": "208.52.153.33:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 4,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1630779711,
"last_update": 1780647624,
"banned": false,
"wipe": 1780598404,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1006,
"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/445162");
$data = json_decode($json, true);
var_dump($data);