DayZ
moje/tvoje Chernarus.CZ/SK (PVE,AI,HELI,XP,NORAID,RARELOOT) के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10764599json
{
"response": {
"steam_id": "90285627111863312",
"domain": null,
"id": 10764599,
"ip": "185.180.2.92",
"port": 27425,
"query": 28425,
"color": 0,
"city": "Prague",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1777833191,
"score": 0,
"last_online": 1778533231,
"icon": null,
"name": "moje/tvoje Chernarus.CZ/SK (PVE,AI,HELI,XP,NORAID,RARELOOT)",
"connect": "185.180.2.92:27425",
"request": "185.180.2.92:28425",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 2,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1766261149,
"last_update": 1778533231,
"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": 1098,
"language": "cs",
"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/10764599");
$data = json_decode($json, true);
var_dump($data);