Arma 3
Training Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/4331203json
{
"response": {
"steam_id": 90284666478894110,
"domain": null,
"id": 4331203,
"ip": "198.244.202.225",
"port": 2312,
"query": 2313,
"color": 0,
"city": "London",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1774899129,
"score": 0,
"last_online": 1776811871,
"icon": null,
"name": "Training Server",
"connect": "198.244.202.225:2312",
"request": "198.244.202.225:2313",
"map": "Altis",
"gamemode": "Training Circuit",
"version": "2.20.153495",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": true,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1715985429,
"last_update": 1776811871,
"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": 691,
"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/4331203");
$data = json_decode($json, true);
var_dump($data);