Unholy Lands के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90283832682594317",
"domain": null,
"id": 11365792,
"ip": "167.160.93.168",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1777650796,
"last_online": 1780569685,
"icon": null,
"name": "Unholy Lands",
"connect": "167.160.93.168:28015",
"request": "167.160.93.168:28016",
"map": "VRisingWorld",
"gamemode": "40223632-6a9f-424a-9048-5fc7c77c98f5",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774595203,
"last_update": 1780569685,
"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": 1734,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11365792");
$data = json_decode($json, true);
var_dump($data);