Kev on DESKTOP-7260SD1 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286450464745473",
"domain": null,
"id": 11623472,
"ip": "73.169.80.124",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Denver",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780582420,
"last_online": 1780249255,
"icon": null,
"name": "Kev on DESKTOP-7260SD1",
"connect": "73.169.80.124:2302",
"request": "73.169.80.124:2303",
"map": "cup_Zargabad_a3",
"gamemode": "Dynamic Recon Ops ACE - Zargabad 2025",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916116,
"last_update": 1780582420,
"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": 5043,
"language": "en",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11623472");
$data = json_decode($json, true);
var_dump($data);