DayEndZ | CHERNARUS | PVE/PVPZones | STARTERBASE | AI | के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286657962542097",
"domain": null,
"id": 11111046,
"ip": "185.38.148.45",
"port": 3247,
"query": 3248,
"project_id": null,
"color": 0,
"city": "City of London",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780100011,
"last_online": 1780723977,
"icon": null,
"name": "DayEndZ | CHERNARUS | PVE/PVPZones | STARTERBASE | AI |",
"connect": "185.38.148.45:3247",
"request": "185.38.148.45:3248",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1770050936,
"last_update": 1780723977,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6372,
"language": "en",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11111046");
$data = json_decode($json, true);
var_dump($data);