Arma 3
2nd Marine Raider Battalion Operations and Training Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/1266663json
{
"response": {
"steam_id": "90282956856967171",
"domain": null,
"id": 1266663,
"ip": "14.1.30.100",
"port": 2336,
"query": 2337,
"color": 0,
"city": "Chicago",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776019939,
"score": null,
"last_online": 1776464510,
"icon": null,
"name": "2nd Marine Raider Battalion Operations and Training Server",
"connect": "14.1.30.100:2336",
"request": "14.1.30.100:2337",
"map": "cup_chernarus_A3",
"gamemode": "Churno_Temp_v2",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 38,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1692434497,
"last_update": 1776464510,
"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": 665,
"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/1266663");
$data = json_decode($json, true);
var_dump($data);