Arma 3
Task Force Spartan - Operation Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/6290169json
{
"response": {
"steam_id": "90284674307514386",
"domain": null,
"id": 6290169,
"ip": "38.58.183.34",
"port": 2442,
"query": 2443,
"color": 0,
"city": "Draper",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776622398,
"score": 0,
"last_online": 1776823843,
"icon": null,
"name": "Task Force Spartan - Operation Server",
"connect": "38.58.183.34:2442",
"request": "38.58.183.34:2443",
"map": "cfb_moosehead",
"gamemode": "Training Map",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 85,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1729559948,
"last_update": 1776823843,
"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": 289,
"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/6290169");
$data = json_decode($json, true);
var_dump($data);