Arma 3
[ OFFICIAL CDLC ] SOG - ALiVE #01 - hosted by SGD के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/9948842json
{
"response": {
"steam_id": "90284598010778649",
"domain": null,
"id": 9948842,
"ip": "217.217.30.251",
"port": 2342,
"query": 2343,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1773107529,
"score": 0,
"last_online": 1776499844,
"icon": null,
"name": "[ OFFICIAL CDLC ] SOG - ALiVE #01 - hosted by SGD",
"connect": "217.217.30.251:2342",
"request": "217.217.30.251:2343",
"map": "vn_khe_sanh",
"gamemode": "ALiVE | Khe Sanh Valley",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1754227027,
"last_update": 1776499844,
"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": 1192,
"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/9948842");
$data = json_decode($json, true);
var_dump($data);