DayZ
The New Hope Bitterroot|PVE/PVP|Loot+|Quests|Trader|Planes के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11150321json
{
"response": {
"steam_id": "90284748616712212",
"domain": null,
"id": 11150321,
"ip": "85.209.54.6",
"port": 2302,
"query": 27017,
"color": 0,
"city": "Bad Kissingen",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776046911,
"score": 0,
"last_online": 1776806429,
"icon": null,
"name": "The New Hope Bitterroot|PVE/PVP|Loot+|Quests|Trader|Planes",
"connect": "85.209.54.6:2302",
"request": "85.209.54.6:27017",
"map": "Bitterroot",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 18,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 51,
"add_date": 1772227778,
"last_update": 1776806429,
"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": 1280,
"language": "de",
"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/11150321");
$data = json_decode($json, true);
var_dump($data);