DayZ
RUBEZH DAYZ | VANILLA+ | 3PP-PVP | Chernarus | NEW WIPE के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11222652json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11222652,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": 176659,
"boosts": 1,
"last_offline": 1775196026,
"score": 5,
"last_online": 1774260010,
"icon": null,
"name": "RUBEZH DAYZ | VANILLA+ | 3PP-PVP | Chernarus | NEW WIPE",
"connect": null,
"request": null,
"map": "chernarusplus",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 5,
"points": 0,
"add_date": 1772973595,
"last_update": 1775196026,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4697,
"language": "ru",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "shtrih",
"avatar": "9823be40-9b12-4774-a2ca-2dc84f31c076.jpg",
"last_online": 1774960594
},
"mods": [
{
"id": 1615,
"name": "CF"
},
{
"id": 1653,
"name": "Code Lock"
},
{
"id": 1614,
"name": "VPPAdminTools"
},
{
"id": 1783,
"name": "VanillaPlusPlusMap"
},
{
"id": 1739,
"name": "Ear Plugs"
},
{
"id": 1820,
"name": "Party Mod"
},
{
"id": 2095,
"name": "Map"
},
{
"id": 1656,
"name": "Stamina 2x"
}
],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11222652");
$data = json_decode($json, true);
var_dump($data);