Arma 3
Global Mobilization Public Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/4534379json
{
"response": {
"steam_id": "90284301982974983",
"domain": null,
"id": 4534379,
"ip": "104.234.252.154",
"port": 2326,
"query": 2327,
"color": 0,
"city": "Frankfurt am Main",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1768642904,
"score": 0,
"last_online": 1776501648,
"icon": null,
"name": "Global Mobilization Public Server",
"connect": "104.234.252.154:2326",
"request": "104.234.252.154:2327",
"map": "gm_weferlingen_summer",
"gamemode": "CTI40 GM War Machine - PACT",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1717059643,
"last_update": 1776501648,
"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": 658,
"language": "de",
"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/4534379");
$data = json_decode($json, true);
var_dump($data);