Arma 3
[CN]SandS自制模组(Experiment测试)服务器(需要Contact के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10704092json
{
"response": {
"steam_id": 90284562220725260,
"domain": null,
"id": 10704092,
"ip": "211.101.245.150",
"port": 2352,
"query": 2353,
"color": 0,
"city": "Chiyoda City",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1775124134,
"score": 0,
"last_online": 1776820315,
"icon": null,
"name": "[CN]SandS自制模组(Experiment测试)服务器(需要Contact",
"connect": "211.101.245.150:2352",
"request": "211.101.245.150:2353",
"map": "Enoch",
"gamemode": "Secure and Support",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1765123815,
"last_update": 1776820315,
"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": 1692,
"language": "ja",
"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/10704092");
$data = json_decode($json, true);
var_dump($data);