DayZ
DEADZONE PvP के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11143046json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11143046,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Poplar",
"description": "[{\"id\":\"rD2O0iLGDq\",\"type\":\"paragraph\",\"data\":{\"text\":\"Vanilla Loot, Economy System, Auto Trader, Factions, Build Sheds, Custom POI's, No Safe Zones.\\n\\ndiscord: https://discord.gg/BQByPYqat\"}}]",
"game": 221100,
"owner": 168921,
"boosts": 1,
"last_offline": 1774417876,
"score": 0,
"last_online": 1773519013,
"icon": null,
"name": "DEADZONE PvP",
"connect": null,
"request": null,
"map": "dayzOffline.chernarusplus",
"gamemode": "DayZ",
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1771165948,
"last_update": 1774417876,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4972,
"language": "en",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "joshyyb02933079",
"avatar": "no.jpg",
"last_online": 1771167092
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11143046");
$data = json_decode($json, true);
var_dump($data);