DayZ
-< Nasty&July Vanilla World | No Mods | Build Anywhere के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11252407json
{
"response": {
"steam_id": "90285042174323715",
"domain": null,
"id": 11252407,
"ip": "109.173.40.232",
"port": 2302,
"query": 27016,
"color": 0,
"city": "Moscow",
"description": "Welcome! This is Hardcore Vanilla Server| 1PP|No Mods|No Wipe| No OFFStamina;) Build Anywhere| Fast Movemen",
"game": 221100,
"owner": 171041,
"boosts": 1,
"last_offline": 1775938314,
"score": 0,
"last_online": 1777315215,
"icon": null,
"name": "-< Nasty&July Vanilla World | No Mods | Build Anywhere",
"connect": "109.173.40.232:2302",
"request": "109.173.40.232:27016",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 2,
"maxplayers": 127,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 91,
"add_date": 1773817217,
"last_update": 1777315215,
"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": 154,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "ivan_muzykalnov",
"avatar": "no.jpg",
"last_online": 1774087371
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11252407");
$data = json_decode($json, true);
var_dump($data);