#1 Dusk Valley | Loot++ | Cars+ | Raids | High Fps | Solo Play # के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286902737219587",
"domain": null,
"id": 11784846,
"ip": "65.20.105.33",
"port": 4730,
"query": 4730,
"project_id": null,
"color": 0,
"city": "Madrid",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1781376834,
"last_online": 1781394613,
"icon": null,
"name": "#1 Dusk Valley | Loot++ | Cars+ | Raids | High Fps | Solo Play #",
"connect": "65.20.105.33:4730",
"request": "65.20.105.33:4730",
"map": "enoch",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 220,
"maxplayers": 220,
"bots": 220,
"secured": true,
"private": false,
"country": "ES",
"status": true,
"votes": 0,
"points": 122,
"add_date": 1781376834,
"last_update": 1781394613,
"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": 565,
"language": "es",
"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/11784846");
$data = json_decode($json, true);
var_dump($data);